[ http://jira.codehaus.org/browse/MANTRUN-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198472#action_198472 ]
Matt Raible commented on MANTRUN-123: ------------------------------------- FWIW, using reverseLoader="true" does solve the problem and allows this setup to work with Maven 3 alpha 3. > Plugin class path pollutes class path of custom tasks > ----------------------------------------------------- > > Key: MANTRUN-123 > URL: http://jira.codehaus.org/browse/MANTRUN-123 > Project: Maven 2.x Antrun Plugin > Issue Type: Bug > Affects Versions: 1.3 > Environment: Maven 3.0-alpha-3 > Reporter: Matt Raible > Attachments: err.log > > > Steps to reproduce: > svn co https://appfuse.dev.java.net/svn/appfuse/trunk/archetypes (user: > guest, pass: <blank>) > mvn install > Here's the build.xml file: > http://source.appfuse.org/browse/appfuse/trunk/archetypes/build.xml?r=HEAD > [ERROR] An Ant BuildException has occured: The following error occurred while > executing this line: > /Users/mraible/Work/appfuse/archetypes/build.xml:14: > java.lang.NoSuchMethodError: > org.codehaus.plexus.DefaultPlexusContainer.setClassWorld(Lorg/codehaus/classworlds/ClassWorld;)V > -> [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/MojoExecutionException -- 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