Issue Type: Bug Bug
Affects Versions: xml-maven-plugin 1.0.1
Assignee: Jochen Wiedmann
Attachments: it12.tar.gz
Components: xml
Created: 07/Sep/12 12:24 PM
Description:

Setting addedToClasspath to true on a TransformationSet causes the build to fail with a NullPointerException (as demonstrated by the attached integration test).

As far as I can see, the solution to this is to not pass pTransformationSet.getOutputDir() to addToClasspath (as this may be null), but rather to pass the value of the local variable outputDir (which had a default filled in if pTransformationSet.getOutputDir() was null).

Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Project: Mojo
Priority: Major Major
Reporter: Andreas Sewe
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
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to