Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Sometimes the maven-plugin-plugin fails to write the plugin descriptor and exits with the exception below.
Root cause seems to be JDK7 related and has been fixed in plexus-utils 3.1.1 https://github.com/codehaus-plexus/plexus-utils/issues/51
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.5.2:descriptor (default-descriptor) on project maven-javadoc-plugin: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.5.2:descriptor failed. NoSuchElementException -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.5.2:descriptor (default-descriptor) on project maven-javadoc-plugin: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.5.2:descriptor failed Caused by: java.util.NoSuchElementException at java.util.LinkedList.removeLast (LinkedList.java:281) at org.codehaus.plexus.util.xml.PrettyPrintXMLWriter.endElement (PrettyPrintXMLWriter.java:297) at org.apache.maven.tools.plugin.generator.PluginDescriptorGenerator.writeDescriptor (PluginDescriptorGenerator.java:175)
Attachments
Issue Links
- links to