Skip to content

Commit db6760d

Browse files
committed
JDK 11+ - update dependencies in modules POMs
1 parent 1bbe2d6 commit db6760d

File tree

4 files changed

+24
-33
lines changed

4 files changed

+24
-33
lines changed

modules/swagger-codegen-cli/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<plugin>
4040
<groupId>org.apache.maven.plugins</groupId>
4141
<artifactId>maven-shade-plugin</artifactId>
42-
<version>2.3</version>
42+
<version>3.3.0</version>
4343
<executions>
4444
<execution>
4545
<id>process-resources</id>

modules/swagger-codegen-maven-plugin/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,29 @@
1616
</prerequisites>
1717
<properties>
1818
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19+
<maven.version>3.2.5</maven.version>
1920
</properties>
2021
<dependencies>
2122
<dependency>
2223
<groupId>org.apache.maven</groupId>
2324
<artifactId>maven-core</artifactId>
24-
<version>3.2.5</version>
25+
<version>${maven.version}</version>
2526
</dependency>
2627
<dependency>
2728
<groupId>org.apache.maven</groupId>
2829
<artifactId>maven-artifact</artifactId>
29-
<version>3.2.5</version>
30+
<version>${maven.version}</version>
3031
<scope>provided</scope>
3132
</dependency>
3233
<dependency>
3334
<groupId>org.apache.maven</groupId>
3435
<artifactId>maven-compat</artifactId>
35-
<version>3.2.5</version>
36+
<version>${maven.version}</version>
3637
</dependency>
3738
<dependency>
3839
<groupId>org.apache.maven</groupId>
3940
<artifactId>maven-plugin-api</artifactId>
40-
<version>3.2.5</version>
41+
<version>${maven.version}</version>
4142
</dependency>
4243
<dependency>
4344
<groupId>org.apache.maven.plugin-tools</groupId>
@@ -52,7 +53,6 @@
5253
<dependency>
5354
<groupId>junit</groupId>
5455
<artifactId>junit</artifactId>
55-
<!-- <version>4.12</version> -->
5656
<scope>test</scope>
5757
</dependency>
5858
</dependencies>

modules/swagger-codegen/pom.xml

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<extension>
3131
<groupId>org.apache.maven.wagon</groupId>
3232
<artifactId>wagon-ssh-external</artifactId>
33-
<version>2.10</version>
33+
<version>3.5.3</version>
3434
</extension>
3535
<extension>
3636
<groupId>org.apache.maven.wagon</groupId>
@@ -44,7 +44,7 @@
4444
<plugin>
4545
<groupId>org.codehaus.mojo</groupId>
4646
<artifactId>exec-maven-plugin</artifactId>
47-
<version>1.5.0</version>
47+
<version>3.1.0</version>
4848
<executions>
4949
<execution>
5050
<goals>
@@ -72,16 +72,12 @@
7272
</plugin>
7373
<plugin>
7474
<artifactId>maven-compiler-plugin</artifactId>
75-
<version>3.5.1</version>
76-
<configuration>
77-
<source>1.8</source>
78-
<target>1.8</target>
79-
</configuration>
75+
<version>3.10.1</version>
8076
</plugin>
8177
<plugin>
8278
<groupId>org.apache.maven.plugins</groupId>
8379
<artifactId>maven-jar-plugin</artifactId>
84-
<version>3.0.2</version>
80+
<version>3.3.0</version>
8581
<configuration>
8682
<archive>
8783
<manifestEntries>
@@ -103,7 +99,7 @@
10399
<plugin>
104100
<groupId>org.apache.maven.plugins</groupId>
105101
<artifactId>maven-site-plugin</artifactId>
106-
<version>3.5.1</version>
102+
<version>3.12.0</version>
107103
</plugin>
108104
<plugin>
109105
<groupId>org.apache.maven.plugins</groupId>
@@ -157,33 +153,29 @@
157153
<reporting>
158154
<outputDirectory>target/site</outputDirectory>
159155
<plugins>
160-
161156
<plugin>
162157
<groupId>org.apache.maven.plugins</groupId>
163158
<artifactId>maven-javadoc-plugin</artifactId>
164-
<version>2.10.4</version>
159+
<version>3.5.0</version>
165160
<configuration>
166-
<aggregate>true</aggregate>
167-
<debug>true</debug>
168-
<links>
169-
<link>http://java.sun.com/javaee/5/docs/api</link>
170-
<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
171-
</links>
172-
<excludePackageNames/>
161+
<source>1.8</source>
162+
<encoding>UTF-8</encoding>
163+
<maxmemory>1g</maxmemory>
164+
<excludePackageNames>${javadoc.package.exclude}</excludePackageNames>
173165
</configuration>
174166
</plugin>
175167
<plugin>
176168
<groupId>org.apache.maven.plugins</groupId>
177169
<artifactId>maven-jxr-plugin</artifactId>
178-
<version>2.5</version>
170+
<version>3.3.0</version>
179171
<configuration>
180172
<aggregate>true</aggregate>
181173
</configuration>
182174
</plugin>
183175
<plugin>
184176
<groupId>org.apache.maven.plugins</groupId>
185177
<artifactId>maven-project-info-reports-plugin</artifactId>
186-
<version>2.9</version>
178+
<version>3.4.2</version>
187179
<reportSets>
188180
<reportSet>
189181
<reports>
@@ -259,7 +251,7 @@
259251
<dependency>
260252
<groupId>org.json</groupId>
261253
<artifactId>json</artifactId>
262-
<version>20220924</version>
254+
<version>20230227</version>
263255
</dependency>
264256

265257
<dependency>
@@ -276,7 +268,6 @@
276268
<dependency>
277269
<groupId>org.jmockit</groupId>
278270
<artifactId>jmockit</artifactId>
279-
<!-- <version>${jmockit-version}</version> -->
280271
<scope>test</scope>
281272
</dependency>
282273
<dependency>
@@ -288,7 +279,7 @@
288279
<dependency>
289280
<groupId>com.atlassian.commonmark</groupId>
290281
<artifactId>commonmark</artifactId>
291-
<version>0.9.0</version>
282+
<version>0.17.0</version>
292283
</dependency>
293284
<dependency>
294285
<groupId>org.mockito</groupId>

modules/swagger-generator/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,11 +328,11 @@
328328
</dependencies>
329329
<properties>
330330
<servlet-api-version>2.5</servlet-api-version>
331-
<logback-version>1.2.10</logback-version>
331+
<logback-version>1.4.6</logback-version>
332332
<maven-plugin-version>1.0.0</maven-plugin-version>
333333
<servlet-api-version>2.5</servlet-api-version>
334-
<zip-version>1.3.3</zip-version>
335-
<jetty-version>9.4.49.v20220914</jetty-version>
336-
<jersey2-version>2.35</jersey2-version>
334+
<zip-version>2.11.5</zip-version>
335+
<jetty-version>9.4.51.v20230217</jetty-version>
336+
<jersey2-version>2.39.1</jersey2-version>
337337
</properties>
338338
</project>

0 commit comments

Comments
 (0)