Yes, but if you run it from the command line, you don't need to put it in the pom. If it is in the pom incorrectly, then that will cause problems. I tested it on a random project with nothing in my pom for the plugin and it found it ok.
-----Original Message----- From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] Sent: Sunday, February 05, 2006 6:09 PM To: Maven Users List Subject: Re: downloading plug-ins from mojo (org.codehaus.mojo)? it's jxr-maven-plugin, not maven-jxr-plugin : I did the same mistake some time ago... The convention is not the same between org.apache.maven.plugins (maven-xxx-plugin) and org.codehaus.mojo (xxx-maven-plugin). Jira http://jira.codehaus.org/browse/MPLUGIN-11 is an attempt to help newbies to copy/paste a pom excerpt to avoid such mistakes : please vote for it. Hervé Le Dimanche 05 Février 2006 22:34, Chris Markle a écrit : > Brian et al, > > > Hrm, works ok for me. What version of maven are you using? > > Maven 2: > > C:\blah> mvn --version > Maven version: 2.0.2 > > > Try mvn -U jxr:jxr and see what happens. > > C:\blah> mvn --version > Maven version: 2.0.2 > > C:\blah> mvn -U jxr:jxr > > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'jxr'. > [INFO] org.apache.maven.plugins: checking for updates from central > [INFO] org.codehaus.mojo: checking for updates from central [INFO] > artifact org.apache.maven.plugins:maven-jxr-plugin: checking for > updates from central ... > [ERROR] BUILD ERROR > ... > [INFO] The plugin 'org.apache.maven.plugins:maven-jxr-plugin' does not > exist or no valid version could be found > > No joy :( > > Chris > > --------------------------------------------------------------------- > 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]
