[ODLPARENT-19] odlparent build fails under jdk8 due to maven-plugin-plugin Created: 22/Jul/15  Updated: 24/Jan/18  Resolved: 28/Aug/15

Status: Resolved
Project: odlparent
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Jon Rosenberger Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 4040

 Description   

Two problems:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.1:jar (attach-javadocs) on project karaf-plugin: MavenReportException: Error while creating archive:
[ERROR] Exit code: 1 - /odl/odlparent/karaf-plugin/target/generated-sources/plugin/org/opendaylight/odlparent/HelpMojo.java:22: error: self-closing element not allowed

and

[ERROR] Exit code: 1 - /odl/odlparent/karaf-plugin/target/generated-sources/plugin/org/opendaylight/odlparent/HelpMojo.java:25: error: unknown tag: goal
[ERROR] * @goal help



 Comments   
Comment by Jon Rosenberger [ 22/Jul/15 ]

First problem is due to lack of JDK8 support in maven-plugin-plugin 3.2. Upgrade to 3.4 will resolve.

Second problem is due to undefined javadoc tags. In jdk 8 this has become an error. Defining the tags or ignoring errors will resolve.

Comment by Jon Rosenberger [ 22/Jul/15 ]

https://git.opendaylight.org/gerrit/24413

Generated at Wed Feb 07 20:27:23 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.