Wolf Geldmacher created MENFORCER-156:
-----------------------------------------
Summary: Upgrading maven-enforcer-plugin from 1.2 to 1.3 breaks
maven-assembly-plugin
Key: MENFORCER-156
URL: https://jira.codehaus.org/browse/MENFORCER-156
Project: Maven 2.x Enforcer Plugin
Issue Type: Bug
Affects Versions: 1.3
Environment: Ubuntu 12.04 fully patched / Maven 3.0.5 / Oracle Java
1.7.0_25
Reporter: Wolf Geldmacher
Attachments: extjars.xml, pom.xml
After upgrading m-e-p from 1.2 to 1.3 the maven-assembly-plugin generates the
following error:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.4:single (assemble) on project
extjars: Execution assemble of goal
org.apache.maven.plugins:maven-assembly-plugin:2.4:single failed.
NullPointerException -> [Help 1]
Downgrading to m-e-p 1.2 makes the assembly work again.
Sample pom & assembly that expose the error attached.
When called via:
mvn -Dplugins.maven-enforcer-plugin.version=1.2
a zip file is generated as expected, when called via
mvn -Dplugins.maven-enforcer-plugin.version=1.3
(or without argument) you will get the NPE.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira