It seems to be a problem of the 2.0.2 version of maven-war-plugin. All is ok with the 2.0.1 version!? Aurelien
-----Message d'origine----- De : Barbier-Accary Aurélien Envoyé : mercredi 3 janvier 2007 15:54 À : users@maven.apache.org Objet : mvn package error with maven-war-plugin Hi all, The goals compile and test are built successfully for my project but when I try to execute "mvn package" there is the error listed below. However maven-war-plugin-2.0.2.jar exists in my local repository in org\apache\maven\plugins\maven-war-plugin\2.0.2 What can I do to solve this problem? Thanks In advance. Aurelien The logs: D:\workspace\IGN\cms-front-demo>mvn package [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building Define here the full name of the application [INFO] task-segment: [package] [INFO] ---------------------------------------------------------------------------- Downloading: http://people.apache.org/maven-snapshot-repository//org/apache/maven/plugins/maven-war-plugin/2.0.2/maven-war-plugin-2.0.2.pom Downloading: http://snapshots.repository.codehaus.org//org/codehaus/mojo/cobertura-maven-plugin/2.1/cobertura-maven-plugin-2.1.pom [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] Copying 6 resources [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] Resource directory does not exist: D:\workspace\IGN\cms-front-demo\src\test\resources [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. ----------------------------------------------------- this realm = app0.child-container[org.apache.maven.plugins:maven-war-plugin] urls[0] = file:/D:/tools/maven/2.0.4/localrepository/org/apache/maven/plugins/maven-war-plugin/2.0.2/maven-war-plugin-2.0.2.jar Number of imports: 0 this realm = plexus.core.maven urls[0] = file:/D:/tools/maven/2.0.4/bin/../lib/commons-cli-1.0.jar urls[1] = file:/D:/tools/maven/2.0.4/bin/../lib/doxia-sink-api-1.0-alpha-7.jar urls[2] = file:/D:/tools/maven/2.0.4/bin/../lib/jsch-0.1.24.jar urls[3] = file:/D:/tools/maven/2.0.4/bin/../lib/maven-artifact-2.0.4.jar urls[4] = file:/D:/tools/maven/2.0.4/bin/../lib/maven-artifact-manager-2.0.4.jar urls[5] = file:/D:/tools/maven/2.0.4/bin/../lib/maven-core-2.0.4.jar urls[6] = file:/D:/tools/maven/2.0.4/bin/../lib/maven-error-diagnostics-2.0.4.jar urls[7] = file:/D:/tools/maven/2.0.4/bin/../lib/maven-model-2.0.4.jar urls[8] = file:/D:/tools/maven/2.0.4/bin/../lib/maven-monitor-2.0.4.jar urls[9] = file:/D:/tools/maven/2.0.4/bin/../lib/maven-plugin-api-2.0.4.jar urls[10] = file:/D:/tools/maven/2.0.4/bin/../lib/maven-plugin-descriptor-2.0.4.jar urls[11] = file:/D:/tools/maven/2.0.4/bin/../lib/maven-plugin-parameter-documenter-2.0.4.jar urls[12] = file:/D:/tools/maven/2.0.4/bin/../lib/maven-plugin-registry-2.0.4.jar urls[13] = file:/D:/tools/maven/2.0.4/bin/../lib/maven-profile-2.0.4.jar urls[14] = file:/D:/tools/maven/2.0.4/bin/../lib/maven-project-2.0.4.jar urls[15] = file:/D:/tools/maven/2.0.4/bin/../lib/maven-reporting-api-2.0.4.jar urls[16] = file:/D:/tools/maven/2.0.4/bin/../lib/maven-repository-metadata-2.0.4.jar urls[17] = file:/D:/tools/maven/2.0.4/bin/../lib/maven-settings-2.0.4.jar urls[18] = file:/D:/tools/maven/2.0.4/bin/../lib/plexus-interactivity-api-1.0-alpha-4.jar urls[19] = file:/D:/tools/maven/2.0.4/bin/../lib/wagon-file-1.0-alpha-7.jar urls[20] = file:/D:/tools/maven/2.0.4/bin/../lib/wagon-http-lightweight-1.0-alpha-6.jar urls[21] = file:/D:/tools/maven/2.0.4/bin/../lib/wagon-provider-api-1.0-alpha-6.jar urls[22] = file:/D:/tools/maven/2.0.4/bin/../lib/wagon-ssh-1.0-alpha-7.jar urls[23] = file:/D:/tools/maven/2.0.4/bin/../lib/wagon-ssh-external-1.0-alpha-6.jar Number of imports: 0 this realm = plexus.core urls[0] = file:/D:/tools/maven/2.0.4/bin/../core/plexus-container-default-1.0-alpha-9.jar urls[1] = file:/D:/tools/maven/2.0.4/bin/../core/plexus-utils-1.1.jar Number of imports: 0 ----------------------------------------------------- [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-war-plugin:2.0.2:war': Unable to find the mojo 'org.apache.maven.plugins:maven-war-plugin:2.0.2:war' in the plugin 'org.apache.maven.plugins:maven-war-plugin' org/codehaus/plexus/archiver/ArchiverException [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Wed Jan 03 14:19:22 CET 2007 [INFO] Final Memory: 6M/12M [INFO] ------------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]