diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 00000000..c9b2105b
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,10 @@
+version: 2
+updates:
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "weekly"
+ - package-ecosystem: "maven"
+ directory: "/"
+ schedule:
+ interval: "weekly"
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 71e40e54..096409a0 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
ref: master
fetch-depth: 0
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 9064f36a..84b53f3a 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -6,10 +6,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- java: [8, 11, 13, 15, 17, 18, 19]
+ java: [8, 11, 17, 21, 22] # LTS and newer versions
steps:
- name: Checkout project
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
diff --git a/pom.xml b/pom.xml
index 38adb356..09de240c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,7 +30,27 @@
UTF-8
UTF-8
- 14.10.1
+ 14.12.0
+ 1.17.1
+ 1.26.2
+ 2.16.1
+ 3.15.0
+ 9.22.3
+ 5.10.3
+ 4.13.2
+ 4.29.1
+ 4.11.0
+ 7.4.0
+ 42.7.3
+ 1.7.36
+ 1.10
+ 3.5.0
+ 1.6
+ 3.8.0
+ 3.24.0
+ 3.1.1
+ 3.3.1
+ 3.3.1
https://github.com/zonkyio/embedded-postgres
@@ -71,6 +91,37 @@
+
+
+
+ commons-io
+ commons-io
+ ${commons-io.version}
+
+
+ org.apache.commons
+ commons-lang3
+ ${commons-lang3.version}
+
+
+ org.apache.commons
+ commons-compress
+ ${commons-compress.version}
+
+
+ commons-codec
+ commons-codec
+ ${commons-codec.version}
+
+
+ org.junit
+ junit-bom
+ ${junit5.version}
+ pom
+ import
+
+
+
io.zonky.test.postgres
@@ -100,100 +151,117 @@
org.slf4j
slf4j-api
- 1.7.36
+ ${slf4j.version}
org.apache.commons
commons-lang3
- 3.12.0
org.apache.commons
commons-compress
- 1.26.0
org.tukaani
xz
- 1.9
+ ${xz.version}
commons-io
commons-io
- 2.11.0
commons-codec
commons-codec
- 1.15
org.flywaydb
flyway-core
- 7.15.0
+ ${flyway.version}
true
org.liquibase
liquibase-core
- 4.10.0
+ ${liquibase.version}
true
org.postgresql
postgresql
- 42.7.3
+ ${postgresql.version}
junit
junit
- 4.13.2
+ ${junit4.version}
provided
true
org.junit.jupiter
junit-jupiter-api
- 5.8.2
provided
true
org.junit.vintage
junit-vintage-engine
- 5.8.2
test
org.junit.jupiter
junit-jupiter-engine
- 5.8.2
test
org.slf4j
slf4j-simple
- 1.7.36
+ ${slf4j.version}
test
org.mockito
mockito-core
- 3.12.4
+ ${mockito.version}
test
+
+ org.apache.maven.plugins
+ maven-enforcer-plugin
+ ${maven-enforcer-plugin.version}
+
+
+ enforce-versions
+ validate
+
+ enforce
+
+
+
+
+
+
+
+
+
maven-surefire-plugin
- 2.22.2
+ ${maven-surefire-plugin.version}
+
+
+ ${env.LC_ALL}
+
+
maven-pmd-plugin
- 3.13.0
+ ${maven-pmd-plugin.version}
verify
@@ -206,13 +274,13 @@
net.sourceforge.pmd
pmd-core
- 6.55.0
+ ${pmd.version}
compile
net.sourceforge.pmd
pmd-java
- 6.55.0
+ ${pmd.version}
compile
@@ -220,7 +288,7 @@
false
true
1.8
- UTF-8
+ UTF-8
100
4
@@ -228,7 +296,7 @@
org.apache.maven.plugins
maven-source-plugin
- 3.2.1
+ ${maven-source-plugin.version}
attach-sources
@@ -241,7 +309,7 @@
org.apache.maven.plugins
maven-javadoc-plugin
- 3.2.0
+ ${maven-javadoc-plugin.version}
attach-javadocs
@@ -257,7 +325,7 @@
org.apache.maven.plugins
maven-release-plugin
- 2.5.3
+ ${maven-release-plugin.version}
false
release
@@ -268,6 +336,21 @@
+
+
+ default-lc-all
+
+
+ !env.LC_ALL
+
+
+ Unix
+
+
+
+ en_US.UTF-8
+
+
release
@@ -275,7 +358,7 @@
org.apache.maven.plugins
maven-gpg-plugin
- 1.6
+ ${maven-gpg-plugin.version}
sign-artifacts
diff --git a/src/main/resources/sh/detect_linux_distribution.sh b/src/main/resources/sh/detect_linux_distribution.sh
index 2ef4f015..8304880a 100644
--- a/src/main/resources/sh/detect_linux_distribution.sh
+++ b/src/main/resources/sh/detect_linux_distribution.sh
@@ -12,7 +12,7 @@ detect_linux_distribution() {
else
DISTRO=''
fi
- echo $DISTRO
+ echo "$DISTRO"
}
-echo $(detect_linux_distribution)
\ No newline at end of file
+detect_linux_distribution