<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>
</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>
<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>
<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>
<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>