When the default parent-pom is copied and being used as a template for a
customer parent-pom, a release build fails during the release:perform step with:
---
[INFO] [WARNING] Rule 0:
org.apache.maven.plugins.enforcer.RequirePluginVersions failed with message
:
[INFO] Some plugins are missing valid versions:(LATEST RELEASE SNAPSHOT are not
allowed )
[INFO] org.apache.maven.plugins:maven-javadoc-plugin. The version currently
in use is 2.9.1
[INFO] ### Best Practice is to always define plugin versions! ###
---
Solution: declare the following in the default parent-pom:
<maven-javadoc-plugin.version>2.9.1</maven-javadoc-plugin.version>
...
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
</plugin>
Original issue reported on code.google.com by hakan.d...@gmail.com on 25 Aug 2013 at 7:54
Original issue reported on code.google.com by
hakan.d...@gmail.com
on 25 Aug 2013 at 7:54