Skip to content

Commit 41d1f3c

Browse files
committed
chore(deps): Update dependencies
1 parent 6b85d71 commit 41d1f3c

File tree

5 files changed

+83
-25
lines changed

5 files changed

+83
-25
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
- package-ecosystem: "maven"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout code
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212
with:
1313
ref: master
1414
fetch-depth: 0

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
java: [8, 11, 13, 15, 17, 18, 19]
9+
java: [8, 11, 17, 21, 22] # LTS and newer versions
1010
steps:
1111
- name: Checkout project
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
- name: Set up JDK
1414
uses: actions/setup-java@v4
1515
with:

pom.xml

Lines changed: 68 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3131
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
3232

33-
<embedded-postgres-binaries.version>14.10.1</embedded-postgres-binaries.version>
33+
<embedded-postgres-binaries.version>14.11.0</embedded-postgres-binaries.version>
3434
</properties>
3535

3636
<url>https://github.com/zonkyio/embedded-postgres</url>
@@ -71,6 +71,44 @@
7171
</snapshotRepository>
7272
</distributionManagement>
7373

74+
<dependencyManagement>
75+
<dependencies>
76+
<dependency>
77+
<groupId>commons-io</groupId>
78+
<artifactId>commons-io</artifactId>
79+
<version>2.16.1</version>
80+
</dependency>
81+
<dependency>
82+
<groupId>org.apache.commons</groupId>
83+
<artifactId>commons-lang3</artifactId>
84+
<version>3.14.0</version>
85+
</dependency>
86+
<dependency>
87+
<groupId>org.apache.commons</groupId>
88+
<artifactId>commons-compress</artifactId>
89+
<version>1.26.2</version>
90+
</dependency>
91+
<dependency>
92+
<groupId>commons-codec</groupId>
93+
<artifactId>commons-codec</artifactId>
94+
<version>1.17.0</version>
95+
</dependency>
96+
<dependency>
97+
<groupId>org.junit</groupId>
98+
<artifactId>junit-bom</artifactId>
99+
<version>5.10.3</version>
100+
<type>pom</type>
101+
<scope>import</scope>
102+
</dependency>
103+
<dependency>
104+
<groupId>org.slf4j</groupId>
105+
<artifactId>slf4j-bom</artifactId>
106+
<version>2.0.13</version>
107+
<type>pom</type>
108+
<scope>import</scope>
109+
</dependency>
110+
</dependencies>
111+
</dependencyManagement>
74112
<dependencies>
75113
<dependency>
76114
<groupId>io.zonky.test.postgres</groupId>
@@ -100,17 +138,14 @@
100138
<dependency>
101139
<groupId>org.slf4j</groupId>
102140
<artifactId>slf4j-api</artifactId>
103-
<version>1.7.36</version>
104141
</dependency>
105142
<dependency>
106143
<groupId>org.apache.commons</groupId>
107144
<artifactId>commons-lang3</artifactId>
108-
<version>3.12.0</version>
109145
</dependency>
110146
<dependency>
111147
<groupId>org.apache.commons</groupId>
112148
<artifactId>commons-compress</artifactId>
113-
<version>1.26.0</version>
114149
</dependency>
115150
<dependency>
116151
<groupId>org.tukaani</groupId>
@@ -120,12 +155,10 @@
120155
<dependency>
121156
<groupId>commons-io</groupId>
122157
<artifactId>commons-io</artifactId>
123-
<version>2.11.0</version>
124158
</dependency>
125159
<dependency>
126160
<groupId>commons-codec</groupId>
127161
<artifactId>commons-codec</artifactId>
128-
<version>1.15</version>
129162
</dependency>
130163
<dependency>
131164
<groupId>org.flywaydb</groupId>
@@ -136,7 +169,7 @@
136169
<dependency>
137170
<groupId>org.liquibase</groupId>
138171
<artifactId>liquibase-core</artifactId>
139-
<version>4.10.0</version>
172+
<version>4.28.0</version>
140173
<optional>true</optional>
141174
</dependency>
142175
<dependency>
@@ -154,46 +187,61 @@
154187
<dependency>
155188
<groupId>org.junit.jupiter</groupId>
156189
<artifactId>junit-jupiter-api</artifactId>
157-
<version>5.8.2</version>
158190
<scope>provided</scope>
159191
<optional>true</optional>
160192
</dependency>
161193
<dependency>
162194
<groupId>org.junit.vintage</groupId>
163195
<artifactId>junit-vintage-engine</artifactId>
164-
<version>5.8.2</version>
165196
<scope>test</scope>
166197
</dependency>
167198
<dependency>
168199
<groupId>org.junit.jupiter</groupId>
169200
<artifactId>junit-jupiter-engine</artifactId>
170-
<version>5.8.2</version>
171201
<scope>test</scope>
172202
</dependency>
173203

174204
<dependency>
175205
<groupId>org.slf4j</groupId>
176206
<artifactId>slf4j-simple</artifactId>
177-
<version>1.7.36</version>
178207
<scope>test</scope>
179208
</dependency>
180209
<dependency>
181210
<groupId>org.mockito</groupId>
182211
<artifactId>mockito-core</artifactId>
183-
<version>3.12.4</version>
212+
<version>4.11.0</version><!-- last Java 8 version -->
184213
<scope>test</scope>
185214
</dependency>
186215
</dependencies>
187216

188217
<build>
189218
<plugins>
219+
<plugin>
220+
<groupId>org.apache.maven.plugins</groupId>
221+
<artifactId>maven-enforcer-plugin</artifactId>
222+
<version>3.5.0</version>
223+
<executions>
224+
<execution>
225+
<id>enforce-versions</id>
226+
<phase>validate</phase>
227+
<goals>
228+
<goal>enforce</goal>
229+
</goals>
230+
<configuration>
231+
<rules>
232+
<dependencyConvergence/>
233+
</rules>
234+
</configuration>
235+
</execution>
236+
</executions>
237+
</plugin>
190238
<plugin>
191239
<artifactId>maven-surefire-plugin</artifactId>
192-
<version>2.22.2</version>
240+
<version>3.3.1</version>
193241
</plugin>
194242
<plugin>
195243
<artifactId>maven-pmd-plugin</artifactId>
196-
<version>3.13.0</version>
244+
<version>3.23.0</version>
197245
<executions>
198246
<execution>
199247
<phase>verify</phase>
@@ -206,29 +254,29 @@
206254
<dependency>
207255
<groupId>net.sourceforge.pmd</groupId>
208256
<artifactId>pmd-core</artifactId>
209-
<version>6.55.0</version>
257+
<version>7.3.0</version>
210258
<scope>compile</scope>
211259
</dependency>
212260
<dependency>
213261
<groupId>net.sourceforge.pmd</groupId>
214262
<artifactId>pmd-java</artifactId>
215-
<version>6.55.0</version>
263+
<version>7.3.0</version>
216264
<scope>compile</scope>
217265
</dependency>
218266
</dependencies>
219267
<configuration>
220268
<skip>false</skip>
221269
<failOnViolation>true</failOnViolation>
222270
<targetJdk>1.8</targetJdk>
223-
<sourceEncoding>UTF-8</sourceEncoding>
271+
<inputEncoding>UTF-8</inputEncoding>
224272
<minimumTokens>100</minimumTokens>
225273
<failurePriority>4</failurePriority>
226274
</configuration>
227275
</plugin>
228276
<plugin>
229277
<groupId>org.apache.maven.plugins</groupId>
230278
<artifactId>maven-source-plugin</artifactId>
231-
<version>3.2.1</version>
279+
<version>3.3.1</version>
232280
<executions>
233281
<execution>
234282
<id>attach-sources</id>
@@ -241,7 +289,7 @@
241289
<plugin>
242290
<groupId>org.apache.maven.plugins</groupId>
243291
<artifactId>maven-javadoc-plugin</artifactId>
244-
<version>3.2.0</version>
292+
<version>3.7.0</version>
245293
<executions>
246294
<execution>
247295
<id>attach-javadocs</id>
@@ -257,7 +305,7 @@
257305
<plugin>
258306
<groupId>org.apache.maven.plugins</groupId>
259307
<artifactId>maven-release-plugin</artifactId>
260-
<version>2.5.3</version>
308+
<version>3.1.0</version>
261309
<configuration>
262310
<useReleaseProfile>false</useReleaseProfile>
263311
<releaseProfiles>release</releaseProfiles>

src/main/resources/sh/detect_linux_distribution.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ detect_linux_distribution() {
1212
else
1313
DISTRO=''
1414
fi
15-
echo $DISTRO
15+
echo "$DISTRO"
1616
}
1717

18-
echo $(detect_linux_distribution)
18+
detect_linux_distribution

0 commit comments

Comments
 (0)