maven-eclipse-plugin NPE during writing setting file.
-----------------------------------------------------

         Key: MNG-772
         URL: http://jira.codehaus.org/browse/MNG-772
     Project: Maven 2
        Type: Bug
 Reporter: Jesse McConnell
 Attachments: eclipse-plugin.patch

the maven eclipse plugin was certain that if the maven-compiler-plugin was 
mentioned in the artifacts list that it would have source and target values 
defined.

         <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
               <encoding>iso-8859-1</encoding>
            </configuration>
         </plugin>

I don't and the eclipse plugin was blowing up with a NPE for this.

I patched it to check for the child Xpp3Dom objects to actually exist before 
trying to get their values, which was the cause of the NPE.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to