Skip to content

Commit b11f4b6

Browse files
Janmm14ItzSomebody
authored andcommitted
Update dependencies and maven plugins, minimize jar.
Fixes #939, fixes #941
1 parent f101577 commit b11f4b6

File tree

1 file changed

+29
-21
lines changed

1 file changed

+29
-21
lines changed

pom.xml

Lines changed: 29 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<plugins>
3030
<plugin>
3131
<artifactId>maven-compiler-plugin</artifactId>
32-
<version>3.7.0</version>
32+
<version>3.10.1</version>
3333
<configuration>
3434
<source>1.8</source>
3535
<target>1.8</target>
@@ -42,14 +42,15 @@
4242
<plugin>
4343
<groupId>org.apache.maven.plugins</groupId>
4444
<artifactId>maven-shade-plugin</artifactId>
45-
<version>3.1.0</version>
45+
<version>3.3.0</version>
4646
<executions>
4747
<execution>
4848
<phase>package</phase>
4949
<goals>
5050
<goal>shade</goal>
5151
</goals>
5252
<configuration>
53+
<minimizeJar>true</minimizeJar>
5354
<artifactSet>
5455
<includes>
5556
<include>*:*</include>
@@ -68,7 +69,7 @@
6869
<plugin>
6970
<groupId>org.apache.maven.plugins</groupId>
7071
<artifactId>maven-jar-plugin</artifactId>
71-
<version>2.4</version>
72+
<version>3.2.2</version>
7273
<configuration>
7374
<archive>
7475
<manifest>
@@ -94,17 +95,17 @@
9495
<dependency>
9596
<groupId>commons-cli</groupId>
9697
<artifactId>commons-cli</artifactId>
97-
<version>1.3.1</version>
98+
<version>1.5.0</version>
9899
</dependency>
99100
<dependency>
100101
<groupId>commons-io</groupId>
101102
<artifactId>commons-io</artifactId>
102-
<version>2.5</version>
103+
<version>2.11.0</version>
103104
</dependency>
104105
<dependency>
105106
<groupId>com.google.guava</groupId>
106107
<artifactId>guava</artifactId>
107-
<version>19.0</version>
108+
<version>31.1-jre</version>
108109
</dependency>
109110
<dependency>
110111
<groupId>org.jooq</groupId>
@@ -114,44 +115,50 @@
114115
<dependency>
115116
<groupId>com.google.code.gson</groupId>
116117
<artifactId>gson</artifactId>
117-
<version>2.6.2</version>
118+
<version>2.9.0</version>
118119
</dependency>
119120
<dependency>
120121
<groupId>com.fasterxml.jackson.core</groupId>
121122
<artifactId>jackson-core</artifactId>
122-
<version>2.9.1</version>
123+
<version>2.13.4</version>
123124
</dependency>
124125
<dependency>
125126
<groupId>com.fasterxml.jackson.core</groupId>
126127
<artifactId>jackson-databind</artifactId>
127-
<version>2.12.6.1</version>
128+
<version>2.13.4.1</version>
129+
</dependency>
130+
<dependency>
131+
<groupId>com.fasterxml.jackson.dataformat</groupId>
132+
<artifactId>jackson-dataformat-yaml</artifactId>
133+
<version>2.13.4</version>
134+
</dependency>
135+
<!-- override vulnerable version in transitive dependency in jackson-dataformat-yaml -->
136+
<dependency>
137+
<groupId>org.yaml</groupId>
138+
<artifactId>snakeyaml</artifactId>
139+
<version>1.32</version>
128140
</dependency>
129141
<dependency>
130142
<groupId>org.slf4j</groupId>
131143
<artifactId>slf4j-api</artifactId>
132-
<version>1.8.0-alpha2</version>
144+
<version>1.8.0-beta4</version>
133145
</dependency>
134146
<dependency>
135147
<groupId>org.slf4j</groupId>
136148
<artifactId>slf4j-simple</artifactId>
137-
<version>1.8.0-alpha2</version>
138-
</dependency>
139-
<dependency>
140-
<groupId>com.fasterxml.jackson.dataformat</groupId>
141-
<artifactId>jackson-dataformat-yaml</artifactId>
142-
<version>2.9.1</version>
149+
<version>1.8.0-beta4</version>
143150
</dependency>
144151
<dependency>
145152
<groupId>junit</groupId>
146153
<artifactId>junit</artifactId>
147-
<version>4.12</version>
154+
<version>4.13.2</version>
148155
<scope>test</scope>
149156
</dependency>
150157
<dependency>
151-
<groupId>javax.xml.bind</groupId>
152-
<artifactId>jaxb-api</artifactId>
153-
<version>2.3.0</version>
154-
</dependency>
158+
<groupId>javax.xml.bind</groupId>
159+
<artifactId>jaxb-api</artifactId>
160+
<version>2.3.1</version>
161+
</dependency>
155162

156163
<!-- ASM related dependencies -->
157164
<dependency>
@@ -180,6 +187,7 @@
180187
<version>${version.asm}</version>
181188
</dependency>
182189

190+
<!-- needs to be very late in the pom as it got a bunch of old stuff shaded inside -->
183191
<dependency>
184192
<groupId>com.javadeobfuscator</groupId>
185193
<artifactId>javavm</artifactId>

0 commit comments

Comments
 (0)