This seems to be an issue of upgrading an old install. Please run with -U and see if that helps - it will force an update.
- Brett On 12/2/05, Russell Brown <[EMAIL PROTECTED]> wrote: > Allan, > Thanks for your reply. I have just tried what you suggest and may have > come across a boot strapping type issue. When I run the command > > mvn install:install-file > -Dfile=m:\maven-resources\2.0-alpha-3\maven-resources-plugin-2 > .0-alpha-3.jar -DgroupId=org.apache.maven.plugins > -DartifactId=maven-resources-plugin -Dversion=2.0- > aplha-3 -Dpackaging=jar > > And got the message > > [INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin' does > not exist or no valid version > could be found > > Fair play. So I download the maven-install-plugin and run the command > > mvn install:install-file > -Dfile=m:\maven-resources\maven-install-plugin-2.0.jar -Dgroup > Id=org.apache.maven.plugins -DartifactId=maven-install-plugin > -Dversion=2.0 -Dpackaging=jar > > And get the message > > [INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin' does > not exist or no valid version > could be found > > ?? Erm. Not sure what to do next. > > Is there a root cause to this 'cos presumably Maven should be > downloading these plugins from central. > > Any more Ideas ? > > Many thanks > > Russell > > > >Hi Russel, > > > >http://docs.codehaus.org/display/MAVENUSER/FAQs > >Look for the question "Why am I getting a "<plugin name>" does not > exist > >or no valid version" > > > >Hope this helps, > > > >regards, > >-allan > > > >Russell Brown wrote: > > > >Hi, > >Whenever I try and run 'mvn compile' I get the message: > > > >The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not > >exist or no valid version can be found. > > > >I have looked on http://www.ibiblio.org/maven2 and the directory > >http://www.ibiblio.org/maven2/maven/maven-resources-plugin/ is empty. > Is > >this the reason for the error ? > > > >I poked around some more and found a jar that could be the right one at > >http://www.ibiblio.org/maven2/apache/maven/plugins/maven-resources-plug > i > >n . I downloaded it and the pom and put it in my local repository. No > >luck, same message. I put it on a local web server and set up a mirror > >in the settings.xml and mvn compile still results in the same message. > I > >removed the mirror form settings.xml and set up a profile pointing to a > >remote repository on my network with the plugin on the path > ><my-server>/maven/maven-resources-plugin/ and that did not work. > > > >I have tried it on 4 different paths as I am not sure which is correct > >(I mirrored every instance of the .jar on the server) and that did not > >work. > > > >I googled and searched the archive for [email protected] and found > >that the issue was raised on 05/11/2005. The respondent asked the > poster > >to "try again in a few days" as there was "trouble" with > repo1.maven.org > >at the moment. So...my question: having RTFM and tried very hard to > >solve the problem myself I have to ask if anyone out there knows what > >the cause of this issues is and how I solve it ? > > > >My env:- > >Windows XP > >Jdk 5 > >Behind a proxy but I maven managed to download the archetype plugin so > I > >configured the proxy settings correctly > > > >Thanks in advance if you can help > > > >Regards > > > >Russell > > > > > > > >Russell Brown > >Developer > >LINK Interchange Network Ltd > > > >Tel: 01423 35631 > > > >_______________________________________________________________________ > _ > >The Information contained in this e-mail message is intended only for > >the individuals named above. If you are not the intended recipient, > >you should be aware that any dissemination, distribution, forwarding > >or other duplication of this communication is strictly prohibited. > >The views expressed in this e-mail are those of the individual > >author and not necessarily those of LINK Interchange Network Ltd. > >Prior to taking any action based upon this e-mail message you should > >seek appropriate confirmation of its authenticity. If you have > >received this e-mail in error, please notify the sender immediately. > >_______________________________________________________________________ > _ > > > > > >----------------------------------------------------------------------- > - > > > >No virus found in this incoming message. > >Checked by AVG Free Edition. > >Version: 7.1.362 / Virus Database: 267.13.10/189 - Release Date: > 11/30/2005 > > > > > > > > > ________________________________________________________________________ > The Information contained in this e-mail message is intended only for > the individuals named above. If you are not the intended recipient, > you should be aware that any dissemination, distribution, forwarding > or other duplication of this communication is strictly prohibited. > The views expressed in this e-mail are those of the individual > author and not necessarily those of LINK Interchange Network Ltd. > Prior to taking any action based upon this e-mail message you should > seek appropriate confirmation of its authenticity. If you have > received this e-mail in error, please notify the sender immediately. > ________________________________________________________________________ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
