[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 |
||
| 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: and [ERROR] Exit code: 1 - /odl/odlparent/karaf-plugin/target/generated-sources/plugin/org/opendaylight/odlparent/HelpMojo.java:25: error: unknown tag: goal |
| 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 ] |