I was using the cargo-maven2-plugin successfully yesterday. Today I cleared
out my local repository and installed my project. All dependencies got
downloaded the project was installed correctly.

Now I'm trying to deploy using cargo (mvn cargo:deploy) and I get the
following error

[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-cargo-plugin' does not
exist o
r no valid version could be found
[INFO]
------------------------------------------------------------------------

This is odd because I am using the cargo-maven2-pliugin, not the
maven-cargo-plugin.

<plugin>
        <groupId>org.codehaus.cargo</groupId>
        <artifactId>cargo-maven2-plugin</artifactId>

The full trace is at :
http://www.nabble.com/file/5913/maven_cargo_plugin_error.txt
maven_cargo_plugin_error.txt 

I saw some posts related to this problem in the forum but no final
resolution.

I have tried -U option to force updates as well as -npr to not use the
plugin registry.

What is the plugin registry anyway? There's no plugin-registry.xml being
created in either the maven/conf or ^/.m2

Also added this same post at the Cargo Plugin.

http://www.nabble.com/maven-cargo-plugin-%28--%21%29-not-found-doing-mvn-cargo%3Adeploy-tf3095668.html#a8594407
-- 
View this message in context: 
http://www.nabble.com/maven-cargo-plugin-%28--%21%29-not-found-doing-mvn-cargo%3Adeploy-tf3095839s177.html#a8594921
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to