Skip to content

Commit 6d81431

Browse files
committed
⬆️ update some packages
1 parent 419c9a9 commit 6d81431

File tree

3 files changed

+49
-61
lines changed

3 files changed

+49
-61
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
cache: "maven"
3333

3434
- name: Check style
35-
run: mvn checkstyle:check
35+
run: mvn --update-snapshots --no-transfer-progress checkstyle:check
3636

3737
- name: Verify with Maven
3838
run: mvn --update-snapshots --no-transfer-progress verify

.github/workflows/test-sample-codes.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ on:
33
pull_request:
44
schedule:
55
- cron: '0 23 * * *'
6-
7-
# Allows to run this workflow manually from the Actions tab
6+
# Allow running this workflow manually from the Actions tab
87
workflow_dispatch:
8+
99
jobs:
1010
build:
1111
name: Run Tests

pom.xml

+46-58
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
<groupId>com.mindee.sdk</groupId>
77
<artifactId>mindee-api-java</artifactId>
8-
<modelVersion>4.0.0</modelVersion>
98
<version>3.2.0</version>
9+
<modelVersion>4.0.0</modelVersion>
1010
<name>Mindee Java Helper Library</name>
1111
<description>Java Library to call Mindee's Off The Shelf and Custom APIs</description>
1212
<url>https://github.com/mindee/mindee-api-java</url>
@@ -18,7 +18,7 @@
1818
</licenses>
1919
<developers>
2020
<developer>
21-
<name>Mindee team</name>
21+
<name>Mindee Team</name>
2222
<email>[email protected]</email>
2323
<organization>Mindee</organization>
2424
<organizationUrl>https://mindee.com/</organizationUrl>
@@ -55,6 +55,7 @@
5555
</plugin>
5656
<plugin>
5757
<artifactId>maven-jar-plugin</artifactId>
58+
<version>3.3.0</version>
5859
<configuration>
5960
<archive>
6061
<manifest>
@@ -63,15 +64,14 @@
6364
</manifest>
6465
</archive>
6566
</configuration>
66-
<version>3.0.2</version>
6767
</plugin>
6868
<plugin>
6969
<artifactId>maven-install-plugin</artifactId>
7070
<version>2.5.2</version>
7171
</plugin>
7272
<plugin>
7373
<artifactId>maven-deploy-plugin</artifactId>
74-
<version>2.8.2</version>
74+
<version>3.1.1</version>
7575
</plugin>
7676
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
7777
<plugin>
@@ -84,6 +84,8 @@
8484
</plugin>
8585
<plugin>
8686
<artifactId>maven-compiler-plugin</artifactId>
87+
<groupId>org.apache.maven.plugins</groupId>
88+
<version>3.10.1</version>
8789
<configuration>
8890
<annotationProcessorPaths>
8991
<path>
@@ -105,16 +107,13 @@
105107
<source>1.8</source>
106108
<target>1.8</target>
107109
</configuration>
108-
<groupId>org.apache.maven.plugins</groupId>
109-
<version>3.8.1</version>
110110
</plugin>
111111
<plugin>
112112
<groupId>org.apache.maven.plugins</groupId>
113113
<artifactId>maven-checkstyle-plugin</artifactId>
114114
<version>3.2.1</version>
115115
<configuration>
116116
<configLocation>google_checks.xml</configLocation>
117-
<encoding>UTF-8</encoding>
118117
<consoleOutput>true</consoleOutput>
119118
</configuration>
120119
<executions>
@@ -129,7 +128,7 @@
129128
<plugin>
130129
<groupId>org.sonatype.plugins</groupId>
131130
<artifactId>nexus-staging-maven-plugin</artifactId>
132-
<version>1.6.7</version>
131+
<version>1.6.12</version>
133132
<extensions>true</extensions>
134133
<configuration>
135134
<serverId>ossrh</serverId>
@@ -146,10 +145,23 @@
146145
<id>release</id>
147146
<build>
148147
<plugins>
148+
<plugin>
149+
<groupId>org.apache.maven.plugins</groupId>
150+
<artifactId>maven-source-plugin</artifactId>
151+
<version>3.2.1</version>
152+
<executions>
153+
<execution>
154+
<id>attach-sources</id>
155+
<goals>
156+
<goal>jar-no-fork</goal>
157+
</goals>
158+
</execution>
159+
</executions>
160+
</plugin>
149161
<plugin>
150162
<groupId>org.apache.maven.plugins</groupId>
151163
<artifactId>maven-javadoc-plugin</artifactId>
152-
<version>2.9.1</version>
164+
<version>3.2.0</version>
153165
<executions>
154166
<execution>
155167
<id>attach-javadocs</id>
@@ -185,45 +197,40 @@
185197
</profiles>
186198

187199
<dependencies>
188-
<!-- https://mvnrepository.com/artifact/org.apache.pdfbox/pdfbox -->
189200
<dependency>
190-
<artifactId>pdfbox</artifactId>
191-
<groupId>org.apache.pdfbox</groupId>
192-
<version>2.0.26</version>
201+
<groupId>org.apache.commons</groupId>
202+
<artifactId>commons-math3</artifactId>
203+
<version>3.6.1</version>
193204
</dependency>
194-
195-
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
196205
<dependency>
197-
<artifactId>lombok</artifactId>
198-
<groupId>org.projectlombok</groupId>
199-
<scope>provided</scope>
200-
<version>${org.projectlombok.version}</version>
206+
<artifactId>mapstruct</artifactId>
207+
<groupId>org.mapstruct</groupId>
208+
<version>${org.mapstruct.version}</version>
209+
</dependency>
210+
<dependency>
211+
<artifactId>pdfbox</artifactId>
212+
<groupId>org.apache.pdfbox</groupId>
213+
<version>2.0.27</version>
201214
</dependency>
202-
203-
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
204215
<dependency>
205216
<artifactId>jackson-databind</artifactId>
206217
<groupId>com.fasterxml.jackson.core</groupId>
207-
<version>2.14.1</version>
218+
<version>2.14.2</version>
208219
</dependency>
209-
210-
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jsr310 -->
211220
<dependency>
212221
<artifactId>jackson-datatype-jsr310</artifactId>
213222
<groupId>com.fasterxml.jackson.datatype</groupId>
214-
<version>2.14.1</version>
223+
<version>2.14.2</version>
215224
</dependency>
216-
217225
<dependency>
218226
<artifactId>httpclient</artifactId>
219227
<groupId>org.apache.httpcomponents</groupId>
220-
<version>4.5.13</version>
228+
<version>4.5.14</version>
221229
</dependency>
222-
223230
<dependency>
224231
<artifactId>httpmime</artifactId>
225232
<groupId>org.apache.httpcomponents</groupId>
226-
<version>4.5.13</version>
233+
<version>4.5.14</version>
227234
</dependency>
228235

229236
<dependency>
@@ -233,19 +240,18 @@
233240
</dependency>
234241

235242
<dependency>
236-
<artifactId>mapstruct</artifactId>
237-
<groupId>org.mapstruct</groupId>
238-
<version>${org.mapstruct.version}</version>
243+
<artifactId>lombok</artifactId>
244+
<groupId>org.projectlombok</groupId>
245+
<scope>provided</scope>
246+
<version>${org.projectlombok.version}</version>
239247
</dependency>
240248

241-
<!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/mockwebserver -->
242249
<dependency>
243250
<artifactId>mockwebserver</artifactId>
244251
<groupId>com.squareup.okhttp3</groupId>
245252
<scope>test</scope>
246-
<version>4.9.3</version>
253+
<version>4.10.0</version>
247254
</dependency>
248-
249255
<dependency>
250256
<artifactId>junit-jupiter-engine</artifactId>
251257
<groupId>org.junit.jupiter</groupId>
@@ -270,43 +276,26 @@
270276
<scope>test</scope>
271277
<version>${junit.platform.version}</version>
272278
</dependency>
273-
274-
<!-- version 2.0 is not compatible with java 8 -->
275279
<dependency>
276280
<artifactId>junit-pioneer</artifactId>
277281
<groupId>org.junit-pioneer</groupId>
278282
<scope>test</scope>
283+
<!-- version 2.0 is not compatible with java 8 -->
279284
<version>1.9.1</version>
280285
</dependency>
281-
282-
<!-- https://mvnrepository.com/artifact/org.mockito/mockito-junit-jupiter -->
283286
<dependency>
284287
<artifactId>mockito-junit-jupiter</artifactId>
285288
<groupId>org.mockito</groupId>
286289
<scope>test</scope>
287290
<version>4.5.1</version>
288291
</dependency>
289-
290-
<!-- https://mvnrepository.com/artifact/org.mockito/mockito-inline -->
291292
<dependency>
292293
<artifactId>mockito-inline</artifactId>
293294
<groupId>org.mockito</groupId>
294295
<scope>test</scope>
295296
<version>4.6.1</version>
296297
</dependency>
297298

298-
<dependency>
299-
<groupId>org.apache.maven.plugins</groupId>
300-
<artifactId>maven-checkstyle-plugin</artifactId>
301-
<version>2.8</version>
302-
</dependency>
303-
304-
<dependency>
305-
<groupId>org.apache.commons</groupId>
306-
<artifactId>commons-math3</artifactId>
307-
<version>3.6.1</version>
308-
</dependency>
309-
310299
</dependencies>
311300

312301
<scm>
@@ -316,14 +305,13 @@
316305
</scm>
317306

318307
<properties>
319-
<junit.jupiter.version>5.8.1</junit.jupiter.version>
320-
<junit.platform.version>1.8.1</junit.platform.version>
308+
<junit.jupiter.version>5.8.2</junit.jupiter.version>
309+
<junit.platform.version>1.8.2</junit.platform.version>
321310
<maven.compiler.source>1.8</maven.compiler.source>
322311
<maven.compiler.target>1.8</maven.compiler.target>
323312
<org.mapstruct.version>1.5.3.Final</org.mapstruct.version>
324-
<org.projectlombok.lombok-mapstruct-binding.version>0.2.0
325-
</org.projectlombok.lombok-mapstruct-binding.version>
326-
<org.projectlombok.version>1.18.24</org.projectlombok.version>
313+
<org.projectlombok.lombok-mapstruct-binding.version>0.2.0</org.projectlombok.lombok-mapstruct-binding.version>
314+
<org.projectlombok.version>1.18.26</org.projectlombok.version>
327315
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
328316
</properties>
329317

0 commit comments

Comments
 (0)