You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Matt Raible (JIRA)" <ji...@codehaus.org> on 2009/11/15 17:34:55 UTC

[jira] Created: (MNG-4446) Maven 3 fails to run build.xml for AppFuse archetype creation

Maven 3 fails to run build.xml for AppFuse archetype creation 
--------------------------------------------------------------

                 Key: MNG-4446
                 URL: http://jira.codehaus.org/browse/MNG-4446
             Project: Maven 2
          Issue Type: Bug
          Components: Plugins and Lifecycle
    Affects Versions: 3.0-alpha-3
            Reporter: Matt Raible


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

        

[jira] Commented: (MANTRUN-123) Plugin class path pollutes class path of custom tasks

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198411#action_198411 ] 

Jason van Zyl commented on MANTRUN-123:
---------------------------------------

Maybe we can find a better way to do this? The Ant Tasks inside the Ant Run plugin in a Maven build? Seriously?

> 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

        

[jira] Commented: (MANTRUN-123) Plugin class path pollutes class path of custom tasks

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198403#action_198403 ] 

Benjamin Bentmann commented on MANTRUN-123:
-------------------------------------------

The problem here is that the Ant Tasks see the wrong classes. The Ant Tasks are fully self-contained but when run by the AntRun Plugin, many classes get erroneously loaded from the Maven core realm instead of the {{maven-ant-tasks.jar}}, giving rise to linkage errors like the one reported here.

A temporary workaround seems to be the {{reverseLoader="true"}} attribute for the {{<typedef>}}:
{code:xml}
<typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant" reverseLoader="true">
{code}

Not sure how this can be fixed ultimately, i.e. whether the AntRun Plugin can be enhanced to provide better class loader isolation or whether we need to workaround this in the Ant Tasks by shading each and every class.

> 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
>            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

        

[jira] Commented: (MANTRUN-123) Plugin class path pollutes class path of custom tasks

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198418#action_198418 ] 

Benjamin Bentmann commented on MANTRUN-123:
-------------------------------------------

I haven't groked the build.xml in detail, but I would expect the [Maven Invoker Plugin|http://maven.apache.org/plugins/maven-invoker-plugin/] to serve as a replacement for many of the Maven invocations from the script.

> 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

        

[jira] Commented: (MANTRUN-123) Plugin class path pollutes class path of custom tasks

Posted by "Matt Raible (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198431#action_198431 ] 

Matt Raible commented on MANTRUN-123:
-------------------------------------

The reason for the complicated build script is to workaround the bugs I found in the archetype plugin.

http://old.nabble.com/Issues-with-archetype%3Acreate-from-project-to23286970.html

Thanks for the info on the Invoker Plugin. Could be useful for installing, testing and deploying the generated archetype.

> 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

        

[jira] Moved: (MANTRUN-123) Maven 3 fails to run build.xml for AppFuse archetype creation

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTRUN-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann moved MNG-4446 to MANTRUN-123:
------------------------------------------------

           Complexity:   (was: Intermediate)
          Component/s:     (was: Plugins and Lifecycle)
    Affects Version/s:     (was: 3.0-alpha-3)
                       1.3
                  Key: MANTRUN-123  (was: MNG-4446)
              Project: Maven 2.x Antrun Plugin  (was: Maven 2)

> Maven 3 fails to run build.xml for AppFuse archetype creation 
> --------------------------------------------------------------
>
>                 Key: MANTRUN-123
>                 URL: http://jira.codehaus.org/browse/MANTRUN-123
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: Bug
>    Affects Versions: 1.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

        

[jira] Issue Comment Edited: (MANTRUN-123) Plugin class path pollutes class path of custom tasks

Posted by "Matt Raible (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198472#action_198472 ] 

Matt Raible edited comment on MANTRUN-123 at 11/17/09 12:42 AM:
----------------------------------------------------------------

FWIW, using reverseLoader="true" does solve the problem and allows this setup to work with Maven 3 alpha 3.

Unfortunately, it breaks Maven 2.2.1 if I add it.

16-Nov-2009 19:55:13  	[INFO] Executing tasks
16-Nov-2009 19:55:13 	  [typedef] The reverseloader attribute is DEPRECATED. It will be removed
16-Nov-2009 19:55:13 	[INFO] ------------------------------------------------------------------------
16-Nov-2009 19:55:13 	[ERROR] BUILD ERROR
16-Nov-2009 19:55:13 	[INFO] ------------------------------------------------------------------------
16-Nov-2009 19:55:13 	[INFO] An Ant BuildException has occured: The following error occurred while executing this line:
16-Nov-2009 19:55:13 	/opt/j2ee/domains/appfuse.org/builds/webapps/atlassian-bamboo/data/atlassian-bamboo-2.2.1/xml-data/build-dir/APF-DEPLOY/archetypes/build.xml:14: java.lang.ClassCastException: org.apache.maven.plugin.MavenPluginDiscoverer

      was (Author: mraible):
    FWIW, using reverseLoader="true" does solve the problem and allows this setup to work with Maven 3 alpha 3.

Unfortunately, it breaks Maven 2.2.1 if I add it.

>From http://builds.appfuse.org/build/viewBuildLog.action?buildNumber=601&buildKey=APF-DEPLOY:

16-Nov-2009 19:55:13  	[INFO] Executing tasks
16-Nov-2009 19:55:13 	  [typedef] The reverseloader attribute is DEPRECATED. It will be removed
16-Nov-2009 19:55:13 	[INFO] ------------------------------------------------------------------------
16-Nov-2009 19:55:13 	[ERROR] BUILD ERROR
16-Nov-2009 19:55:13 	[INFO] ------------------------------------------------------------------------
16-Nov-2009 19:55:13 	[INFO] An Ant BuildException has occured: The following error occurred while executing this line:
16-Nov-2009 19:55:13 	/opt/j2ee/domains/appfuse.org/builds/webapps/atlassian-bamboo/data/atlassian-bamboo-2.2.1/xml-data/build-dir/APF-DEPLOY/archetypes/build.xml:14: java.lang.ClassCastException: org.apache.maven.plugin.MavenPluginDiscoverer
  
> 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

        

[jira] Updated: (MANTRUN-123) Plugin class path pollutes class path of custom tasks

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MANTRUN-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MANTRUN-123:
----------------------------------

    Description: 
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

{noformat}[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{noformat}

  was:
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


> Plugin class path pollutes class path of custom tasks
> -----------------------------------------------------
>
>                 Key: MANTRUN-123
>                 URL: https://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
> {noformat}[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{noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Issue Comment Edited: (MANTRUN-123) Plugin class path pollutes class path of custom tasks

Posted by "Matt Raible (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198472#action_198472 ] 

Matt Raible edited comment on MANTRUN-123 at 11/17/09 12:41 AM:
----------------------------------------------------------------

FWIW, using reverseLoader="true" does solve the problem and allows this setup to work with Maven 3 alpha 3.

Unfortunately, it breaks Maven 2.2.1 if I add it.

>From http://builds.appfuse.org/build/viewBuildLog.action?buildNumber=601&buildKey=APF-DEPLOY:

16-Nov-2009 19:55:13  	[INFO] Executing tasks
16-Nov-2009 19:55:13 	  [typedef] The reverseloader attribute is DEPRECATED. It will be removed
16-Nov-2009 19:55:13 	[INFO] ------------------------------------------------------------------------
16-Nov-2009 19:55:13 	[ERROR] BUILD ERROR
16-Nov-2009 19:55:13 	[INFO] ------------------------------------------------------------------------
16-Nov-2009 19:55:13 	[INFO] An Ant BuildException has occured: The following error occurred while executing this line:
16-Nov-2009 19:55:13 	/opt/j2ee/domains/appfuse.org/builds/webapps/atlassian-bamboo/data/atlassian-bamboo-2.2.1/xml-data/build-dir/APF-DEPLOY/archetypes/build.xml:14: java.lang.ClassCastException: org.apache.maven.plugin.MavenPluginDiscoverer

      was (Author: mraible):
    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

        

[jira] Updated: (MANTRUN-123) Plugin class path pollutes class path of custom tasks

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTRUN-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MANTRUN-123:
--------------------------------------

    Environment: Maven 3.0-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

        

[jira] Commented: (MANTRUN-123) Plugin class path pollutes class path of custom tasks

Posted by "Matt Raible (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Updated: (MANTRUN-123) Plugin class path pollutes class path of custom tasks

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTRUN-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MANTRUN-123:
--------------------------------------

    Summary: Plugin class path pollutes class path of custom tasks  (was: Maven 3 fails to run build.xml for AppFuse archetype creation )

> 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
>            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

        

[jira] Updated: (MNG-4446) Maven 3 fails to run build.xml for AppFuse archetype creation

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MNG-4446:
-----------------------------------

    Attachment: err.log

> Maven 3 fails to run build.xml for AppFuse archetype creation 
> --------------------------------------------------------------
>
>                 Key: MNG-4446
>                 URL: http://jira.codehaus.org/browse/MNG-4446
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 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