Skip to content

Commit 4ce8a2d

Browse files
committed
Update dependencies and Maven plugins
Dependencies: - SLF4J-Log4j 1.7.12 - JUnit 4.12 Maven plugins: - maven-compiler-plugin 3.6.0 - maven-jar-plugin 3.0.2 - maven-surefire-plugin 2.19.1 - maven-dependency-plugin 2.10 - maven-assembly-plugin 3.0.0 - maven-release-plugin 2.5.3 - maven-javadoc-plugin 2.10.4 - maven-source-plugin 3.0.1 - maven-gpg-plugin 1.6 - buildnumber-maven-plugin 1.4 After updating the maven-assembly-plugin it is no longer necessary to fix the versions of plexus-archiver and plexus-io used by the plugin.
1 parent 5b6dd56 commit 4ce8a2d

File tree

1 file changed

+12
-29
lines changed

1 file changed

+12
-29
lines changed

pom.xml

Lines changed: 12 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<plugin>
8686
<groupId>org.apache.maven.plugins</groupId>
8787
<artifactId>maven-compiler-plugin</artifactId>
88-
<version>2.3.2</version>
88+
<version>3.6.0</version>
8989
<configuration>
9090
<source>${targetJdk}</source>
9191
<target>${targetJdk}</target>
@@ -96,7 +96,7 @@
9696
<plugin>
9797
<groupId>org.apache.maven.plugins</groupId>
9898
<artifactId>maven-jar-plugin</artifactId>
99-
<version>2.3.1</version>
99+
<version>3.0.2</version>
100100
<configuration>
101101
<archive>
102102
<manifest>
@@ -117,13 +117,13 @@
117117
<plugin>
118118
<groupId>org.apache.maven.plugins</groupId>
119119
<artifactId>maven-surefire-plugin</artifactId>
120-
<version>2.10</version>
120+
<version>2.19.1</version>
121121
</plugin>
122122

123123
<plugin>
124124
<groupId>org.codehaus.mojo</groupId>
125125
<artifactId>buildnumber-maven-plugin</artifactId>
126-
<version>1.1</version>
126+
<version>1.4</version>
127127
<executions>
128128
<execution>
129129
<phase>validate</phase>
@@ -136,7 +136,7 @@
136136

137137
<plugin>
138138
<artifactId>maven-dependency-plugin</artifactId>
139-
<version>2.8</version>
139+
<version>2.10</version>
140140
<executions>
141141
<execution>
142142
<id>unpack-metafacture-core-resources</id>
@@ -159,23 +159,7 @@
159159

160160
<plugin>
161161
<artifactId>maven-assembly-plugin</artifactId>
162-
<version>2.4</version>
163-
<dependencies>
164-
<!-- Pin the versions of plexus-archiver and plexus-io as
165-
there are apparently two bugs in the versions on which
166-
maven-assembly-plugin depends on by default. See
167-
http://www.misanthropicgeek.net/?p=1303 for details. -->
168-
<dependency>
169-
<groupId>org.codehaus.plexus</groupId>
170-
<artifactId>plexus-archiver</artifactId>
171-
<version>2.4.3</version>
172-
</dependency>
173-
<dependency>
174-
<groupId>org.codehaus.plexus</groupId>
175-
<artifactId>plexus-io</artifactId>
176-
<version>2.0.8</version>
177-
</dependency>
178-
</dependencies>
162+
<version>3.0.0</version>
179163
<executions>
180164
<execution>
181165
<id>create-distribution-package</id>
@@ -205,12 +189,11 @@
205189
<plugin>
206190
<groupId>org.apache.maven.plugins</groupId>
207191
<artifactId>maven-release-plugin</artifactId>
208-
<version>2.4</version><!--$NO-MVN-MAN-VER$ -->
192+
<version>2.5.3</version><!--$NO-MVN-MAN-VER$ -->
209193
<!-- m2e complains about a different plugin version being specified in
210194
the parent pom. However, this is not actually problem for maven. So, we can
211195
ignore the warning. -->
212196
</plugin>
213-
214197
</plugins>
215198
</build>
216199

@@ -233,7 +216,7 @@
233216
<dependency>
234217
<groupId>org.slf4j</groupId>
235218
<artifactId>slf4j-log4j12</artifactId>
236-
<version>1.7.6</version>
219+
<version>1.7.21</version>
237220
</dependency>
238221

239222
<!-- The following dependencies are placed in the "provided"
@@ -268,7 +251,7 @@
268251
<dependency>
269252
<groupId>junit</groupId>
270253
<artifactId>junit</artifactId>
271-
<version>4.11</version>
254+
<version>4.12</version>
272255
<scope>test</scope>
273256
</dependency>
274257

@@ -282,7 +265,7 @@
282265
<plugin>
283266
<groupId>org.apache.maven.plugins</groupId>
284267
<artifactId>maven-javadoc-plugin</artifactId>
285-
<version>2.8</version>
268+
<version>2.10.4</version>
286269
<executions>
287270
<execution>
288271
<id>attach-javadocs</id>
@@ -300,7 +283,7 @@
300283
<plugin>
301284
<groupId>org.apache.maven.plugins</groupId>
302285
<artifactId>maven-source-plugin</artifactId>
303-
<version>2.1.2</version>
286+
<version>3.0.1</version>
304287
<executions>
305288
<execution>
306289
<id>attach-sources</id>
@@ -314,7 +297,7 @@
314297
<plugin>
315298
<groupId>org.apache.maven.plugins</groupId>
316299
<artifactId>maven-gpg-plugin</artifactId>
317-
<version>1.4</version>
300+
<version>1.6</version>
318301
<executions>
319302
<execution>
320303
<id>sign-artifacts</id>

0 commit comments

Comments
 (0)