[ http://jira.codehaus.org/browse/MNG-4786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann updated MNG-4786: ----------------------------------- Summary: [regression] Ant-based mojo using maven-script-ant:2.1.0+ cause NPE (was: beta-3 : Getting NPE when using an ant-mojo maven plugin) > [regression] Ant-based mojo using maven-script-ant:2.1.0+ cause NPE > ------------------------------------------------------------------- > > Key: MNG-4786 > URL: http://jira.codehaus.org/browse/MNG-4786 > Project: Maven 2 & 3 > Issue Type: Bug > Environment: 3.0-beta-3 (staging) > Reporter: Vincent Latombe > Attachments: antmojo.zip, NPE.log > > > Testing latest beta-3 available in staging, I get an NPE when calling one of > my plugins that use the ant wrapper (described at > http://www.sonatype.com/books/mhandbook/reference/ch04s04.html) > Here is a sample plugin project that use this feature (I took the one > available in Maven book). > Compile it, then call > mvn org.sonatype.mavenbook.plugins:firstant-maven-plugin:echo -Dmessage=world > -e > This works with 2.2.1/beta-2 but throws an NPE with beta-3 (see attached logs) -- 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