Hi Brian, Yes, the problem is solved after cleaning all repositories.
Thanks a lot for all your help ! Eric -----Message d'origine----- De : Brian E. Fox [mailto:[EMAIL PROTECTED] Envoyé : mercredi 28 mars 2007 12:53 À : Maven Users List Objet : RE: usage of maven-dependency-plugin Hi Eric, I think you've found it now. The metadata was cleaned up on mojo back when we did 2.0-alpha-1 (the first apache release since the move from mojo) but it could be cached around. -----Original Message----- From: Lewandowski, Eric [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 11:12 AM To: Maven Users List Subject: RE: usage of maven-dependency-plugin Thanks for your answer Brian ! I think your found the problem. I can clear org/codehaus/mojo from my local but this not solves the problem because the plugin is downloaded from the internal repository of my company which must have the same problem thant my local repository. I will see how to solve this problem. Regards, Eric Lewandowski -----Original Message----- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Wed 2007-03-28 10:33 To: Maven Users List Subject: RE: usage of maven-dependency-plugin Clear org/codehaus/mojo from your local repo and this will fix the problem. If you have old metadata in there, it will try and find the mojo one. We really need to fix this in 2.0.x -----Original Message----- From: Lewandowski, Eric [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 9:49 AM To: [email protected] Subject: usage of maven-dependency-plugin Hi, I want to analyze my project dependencies with maven-dependency-plugin. In my pom.xml, i put this entry to the project/build/plugins entry : <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.0-alpha-4</version> </plugin> The resolution failed with this traces : mvn dependency:analyze [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dependency'. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Required goal not found: dependency:analyze [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Wed Mar 28 05:34:56 EDT 2007 [INFO] Final Memory: 1M/3M [INFO] ------------------------------------------------------------------------ Does anabody know what's wrong ? Do I need more configuration informations ? Regards, Eric Lewandowski --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
