[ http://jira.codehaus.org/browse/MNG-2109?page=all ]
John Casey updated MNG-2109: ---------------------------- Fix Version: 2.0.5 > Stack trace with Internal error in the plugin manager executing goal > -------------------------------------------------------------------- > > Key: MNG-2109 > URL: http://jira.codehaus.org/browse/MNG-2109 > Project: Maven 2 > Type: Bug > Components: Plugins and Lifecycle > Versions: 2.0.2 > Environment: windows/cygwin and solaris > Reporter: Olivier Lamy > Priority: Critical > Fix For: 2.0.5 > Attachments: fulllog.txt > > > Hi, > I have a root pom with some modules : > - api (packaging jar) > - webapp (packaging accorwar internal plugin use with extension) > - tools > - site > The plugin accorwar is actually in a snapshot version. > When i run the cli accowar:clean in the root folder and if a new snapshot has > been detected/downloaded in the remote repository. > I have the following stack trace : > [INFO] Preparing accorwar:clean > Downloading: > http://57.200.214.247/snapshots/com/accor/maven/plugins/maven-accor > war-plugin/1.0-SNAPSHOT/maven-accorwar-plugin-1.0-20060216.171651-24.jar > 20K downloaded > [INFO] Reloading plugin container for: > com.accor.maven.plugins:maven-accorwar-pl > ugin. The plugin artifact has changed. > [INFO] [clean:clean] > [INFO] Deleting directory c:\projets\CommonTrunk\commontrunk-api\target > [INFO] Deleting directory > c:\projets\CommonTrunk\commontrunk-api\target\classes > [INFO] Deleting directory > c:\projets\CommonTrunk\commontrunk-api\target\test-cla > sses > ----------------------------------------------------- > this realm = > app0.child-container[com.accor.maven.plugins:maven-accorwar-plugin] > urls[0] = > file:/c:/local/maven/local-repository/repository/com/accor/maven/plugi > ns/maven-accorwar-plugin/1.0-SNAPSHOT/maven-accorwar-plugin-1.0-SNAPSHOT.jar > Number of imports: 0 > this realm = plexus.core.maven > urls[0] = file:/c:/maven-2.0.2/lib/commons-cli-1.0.jar > urls[1] = file:/c:/maven-2.0.2/lib/doxia-sink-api-1.0-alpha-7.jar > urls[2] = file:/c:/maven-2.0.2/lib/jsch-0.1.24.jar > urls[3] = file:/c:/maven-2.0.2/lib/maven-artifact-2.0.2.jar > urls[4] = file:/c:/maven-2.0.2/lib/maven-artifact-manager-2.0.2.jar > urls[5] = file:/c:/maven-2.0.2/lib/maven-core-2.0.2-javadoc.jar > urls[6] = file:/c:/maven-2.0.2/lib/maven-core-2.0.2.jar > urls[7] = file:/c:/maven-2.0.2/lib/maven-error-diagnostics-2.0.2.jar > urls[8] = file:/c:/maven-2.0.2/lib/maven-model-2.0.2.jar > urls[9] = file:/c:/maven-2.0.2/lib/maven-monitor-2.0.2.jar > urls[10] = file:/c:/maven-2.0.2/lib/maven-plugin-api-2.0.2.jar > urls[11] = file:/c:/maven-2.0.2/lib/maven-plugin-descriptor-2.0.2.jar > urls[12] = > file:/c:/maven-2.0.2/lib/maven-plugin-parameter-documenter-2.0.2.jar > urls[13] = file:/c:/maven-2.0.2/lib/maven-plugin-registry-2.0.2.jar > urls[14] = file:/c:/maven-2.0.2/lib/maven-profile-2.0.2.jar > urls[15] = file:/c:/maven-2.0.2/lib/maven-project-2.0.2.jar > urls[16] = file:/c:/maven-2.0.2/lib/maven-reporting-api-2.0.2.jar > urls[17] = file:/c:/maven-2.0.2/lib/maven-repository-metadata-2.0.2.jar > urls[18] = file:/c:/maven-2.0.2/lib/maven-settings-2.0.2.jar > urls[19] = file:/c:/maven-2.0.2/lib/plexus-interactivity-api-1.0-alpha-4.jar > urls[20] = file:/c:/maven-2.0.2/lib/wagon-file-1.0-alpha-7-SNAPSHOT.jar > urls[21] = file:/c:/maven-2.0.2/lib/wagon-http-lightweight-1.0-alpha-6.jar > urls[22] = file:/c:/maven-2.0.2/lib/wagon-provider-api-1.0-alpha-6.jar > urls[23] = file:/c:/maven-2.0.2/lib/wagon-ssh-1.0-alpha-6.jar > urls[24] = file:/c:/maven-2.0.2/lib/wagon-ssh-external-1.0-alpha-6.jar > Number of imports: 0 > this realm = plexus.core > urls[0] = file:/c:/maven-2.0.2/core/plexus-container-default-1.0-alpha-9.jar > urls[1] = file:/c:/maven-2.0.2/core/plexus-utils-1.1.jar > Number of imports: 0 > ----------------------------------------------------- > [INFO] > ------------------------------------------------------------------------- > --- > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] Internal error in the plugin manager executing goal > 'com.accor.maven.plug > ins:maven-accorwar-plugin:1.0-SNAPSHOT:clean': Unable to find the mojo > 'com.acco > r.maven.plugins:maven-accorwar-plugin:1.0-SNAPSHOT:clean' in the plugin > 'com.acc > or.maven.plugins:maven-accorwar-plugin' > org/codehaus/plexus/archiver/ArchiverException > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] Total time: 30 seconds > [INFO] Finished at: Fri Feb 24 11:27:51 CET 2006 > [INFO] Final Memory: 5M/11M > [INFO] > ------------------------------------------------------------------------- > A new build without downloaded new snapshot version works fine. > I have deployed a new version in the remote repo and run mvn -X -e -U > accorwar:clean > fulllog.txt. > The fulllog.txt file is attached. -- 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