diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 55 |
1 files changed, 36 insertions, 19 deletions
@@ -48,7 +48,7 @@ <asm.version>7.0</asm.version> <junit.version>4.12</junit.version> - <mockito.version>2.0.28-beta</mockito.version> + <mockito.version>2.24.0</mockito.version> <cobertura.version>2.7</cobertura.version> <coveralls.version>3.1.0</coveralls.version> @@ -58,24 +58,39 @@ </properties> <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>2.3.2</version> - <configuration> - <source>${java.version}</source> - <target>${java.version}</target> - <optimize>true</optimize> - </configuration> - </plugin> + <pluginManagement> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.0</version> + <configuration> + <showWarnings>true</showWarnings> + <source>${java.version}</source> + <target>${java.version}</target> + </configuration> + </plugin> + + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.22.1</version> + </plugin> + + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <version>2.6</version> + </plugin> + </plugins> + </pluginManagement> + <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>2.8</version> + <version>3.0.1</version> <configuration> <skip>${javadoc.disabled}</skip> + <doclint>none</doclint> + <failOnWarnings>false</failOnWarnings> </configuration> <executions> <execution> @@ -89,7 +104,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> - <version>2.2</version> + <version>3.0.1</version> <configuration> <skipSource>${source.disabled}</skipSource> </configuration> @@ -125,12 +140,11 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> - <version>2.4.3</version> + <version>3.1.0</version> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> - <version>2.4</version> <configuration> <archive> <manifest> @@ -150,12 +164,15 @@ <profiles> <profile> - <id>jdk8-build</id> + <!-- Disable Javadoc generation on Java 11, as it fails with message on 11.0.2: + "error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/7/docs/api/ are in the unnamed module." + --> + <id>jdk11-build</id> <activation> - <jdk>[1.8,)</jdk> + <jdk>[11, 12)</jdk> </activation> <properties> - <additionalparam>-Xdoclint:none</additionalparam> + <javadoc.disabled>true</javadoc.disabled> </properties> </profile> <profile> |