Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.0.0
-
None
-
None
-
windows and linux with maven 3.2.5
Description
The maven-help-plugin in version 3.0.0 generates a null pointer exception for multi-module projects when the parameter "output" is set.
The following command failed
mvn help:effective-pom -Doutput=myoutput.xml
with the error
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.187 s
[INFO] Finished at: 2018-03-20T14:52:19+01:00
[INFO] Final Memory: 24M/403M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-help-plugin:3.0.0:effective-pom (default-cli) on project OFRPDVC001: Execution default-cli of goal org.apache.maven.plugins:maven-help-plugin:3.0.0:effective-pom failed. NullPointerException -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
It doesn't happen with the previous versions, the following command helps to prove it :
mvn org.apache.maven.plugins:maven-help-plugin:2.2:effective-pom -Doutput=myoutput.xml
Attachments
Issue Links
- duplicates
-
MPH-135 help:effective-pom crashes with NPE in multi module builds with -Doutput set
- Closed