On Feb 13, 2007, at 17:54, Rod Mclaughlin wrote:

I have an even more basic issue. Whenever I have a plugin in a POM.xml file, and try to use it, eg.
*$ mvn xfire:wsdlgen *
Maven 2 says*
'Scanning for projects... Searching repository for plugin with prefix: 'xfire'. org.apache.maven.plugins: checking for updates org.codehaus.mojo: checking for updates from central artifact org.apache.maven.plugins:maven-xfire-plugin: checking for updates from central
[ERROR] BUILD ERROR
The plugin 'org.apache.maven.plugins:maven-xfire-plugin' does not exist or no valid version could be found'*

Here it says it's looking for maven-xfire-plugin, but...

This is true whatever the plugin. It's not a proxy issue: it can download ordinary jars from the repository, just not plugins. For example, here is a simple bit of a POM referring to xfire-maven- plugin:
   <build>
           <pluginManagement>
               <plugins>

               <plugin>
                   <groupId>org.codehaus.mojo</groupId>
                   <artifactId>xfire-maven-plugin</artifactId>

...here you declare xfire-maven-plugin. Was that a typo (transcribe- o?), or could this be part of the problem you're seeing?

--
Craig S. Cottingham
[EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to