Mandiax / soi-toolkit

Automatically exported from code.google.com/p/soi-toolkit
0 stars 0 forks source link

Default-parent pom must declare version of javadoc-plugin - enforcer fails release-build #346

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r2088.

Original comment by hakan.d...@gmail.com on 17 Oct 2013 at 12:43