Specify versions for maven plugins used in build for ensuring stable builds
Specify versions for resources-plugin, deploy-plugin, javadoc-plugin, animal-sniffer-maven, release-plugin, and compiler-plugin
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
+ <version>3.7.0</version>
<configuration>
<target>${java.version}</target>
<source>${java.version}</source>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
- <version>1.15</version>
+ <version>1.16</version>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.0.0-M1</version>
<configuration>
<source>${java.version}</source>
<aggregate>true</aggregate>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
+ <version>2.8.2</version>
<configuration>
<skip>${skip.deployment}</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
+ <version>2.5.3</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
+ <version>3.0.2</version>
<executions>
<execution>
<id>default</id>
