Cargo plugin not found
I read two threads in the archives and did not see a real fix but I can't get Maven2 to automatically download the Cargo plugin. How the heck is anyone using it? I'm just using: plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3.1/version !-- or no version -- /plugin /plugins I also added the pluginRepositories as well in my parent project pom but still no luck. It seems to think that cargo is an internal Apache Maven plugin, I get: org.apache.maven.lifecycle.LifecycleExecutionException: The plugin ' org.apache.maven.plugins:maven-cargo-plugin' does not exist or no valid version could be found etc. What am I doing wrong? Anyone using Cargo? -aps -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson
Re: Cargo plugin not found
Not sure what exactly the problem is, but make sure you're following the directions... I'd start here: http://cargo.codehaus.org/Maven2+Plugin+Installation If you're still having problems, you can always use the long way to specify a plugin: mvn groupId:artifactId:version:mojo Which becomes: mvn org.codehaus.cargo:cargo-maven2-plugin:0.3.1:start Wayne On 8/23/07, Alexander Sack [EMAIL PROTECTED] wrote: I read two threads in the archives and did not see a real fix but I can't get Maven2 to automatically download the Cargo plugin. How the heck is anyone using it? I'm just using: plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3.1/version !-- or no version -- /plugin /plugins I also added the pluginRepositories as well in my parent project pom but still no luck. It seems to think that cargo is an internal Apache Maven plugin, I get: org.apache.maven.lifecycle.LifecycleExecutionException: The plugin ' org.apache.maven.plugins:maven-cargo-plugin' does not exist or no valid version could be found etc. What am I doing wrong? Anyone using Cargo? -aps -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cargo plugin not found
Yeesh, Wayne I must have read those pages now about 100 times. But of course, the javadoc thing still doesn't work and I still have no idea why..this might make me start looking at Maven source! :D! -aps On 8/23/07, Wayne Fay [EMAIL PROTECTED] wrote: Not sure what exactly the problem is, but make sure you're following the directions... I'd start here: http://cargo.codehaus.org/Maven2+Plugin+Installation If you're still having problems, you can always use the long way to specify a plugin: mvn groupId:artifactId:version:mojo Which becomes: mvn org.codehaus.cargo:cargo-maven2-plugin:0.3.1:start Wayne On 8/23/07, Alexander Sack [EMAIL PROTECTED] wrote: I read two threads in the archives and did not see a real fix but I can't get Maven2 to automatically download the Cargo plugin. How the heck is anyone using it? I'm just using: plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3.1/version !-- or no version -- /plugin /plugins I also added the pluginRepositories as well in my parent project pom but still no luck. It seems to think that cargo is an internal Apache Maven plugin, I get: org.apache.maven.lifecycle.LifecycleExecutionException: The plugin ' org.apache.maven.plugins:maven-cargo-plugin' does not exist or no valid version could be found etc. What am I doing wrong? Anyone using Cargo? -aps -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson
maven-cargo-plugin (??!) not found doing mvn cargo:deploy
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 groupIdorg.codehaus.cargo/groupId artifactIdcargo-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]
M2 Cargo plugin now found...
Hi all, The problem I just spent 2 hours banging my head against was related to where I declared the cargo-maven2-plugin Declare the plugin under plugins and it downloads fine, declare it under reportingplugins and you get *NO* information about why it won't download I'd like to suggest to any mvn2 devs lurking that some kind of error/info message be displayed if the result of a build is failure and the reason is that a plugin couldn't be found. Perhaps: Failure [Build Error] xxx-plugin could not be found : Have you checked to ensure that you have declared it under plugins not reportingplugins ? A simple message like this would have saved me two hours Thanks, Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: M2 Cargo plugin now found...
Kevin, Please file it in JIRA, and please don't cross post in future. - Brett On 31/10/06, Kevin Jackson [EMAIL PROTECTED] wrote: Hi all, The problem I just spent 2 hours banging my head against was related to where I declared the cargo-maven2-plugin Declare the plugin under plugins and it downloads fine, declare it under reportingplugins and you get *NO* information about why it won't download I'd like to suggest to any mvn2 devs lurking that some kind of error/info message be displayed if the result of a build is failure and the reason is that a plugin couldn't be found. Perhaps: Failure [Build Error] xxx-plugin could not be found : Have you checked to ensure that you have declared it under plugins not reportingplugins ? A simple message like this would have saved me two hours Thanks, Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Apache Maven - http://maven.apache.org Better Builds with Maven book - http://library.mergere.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
M2 Cargo plugin not found/working
Hi all, Very frustrated with maven2: http://cargo.codehaus.org/Maven2+Plugin+Installation Followed the instructions here, and set my pom to use the snapshot repository suggested in the docs result - maven-cago-plugin not found [INFO] Searching repository for plugin with prefix: 'cargo'. [INFO] [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 Great except I didn't want that I wanted cargo-maven2-plugin - so change pom to use the ibiblio release (0.2, not 0.3-SNAPSHOT) Still not found Delete entry from ~.m2/org/apache/maven/plugins/ Still not found Download and do a manual install of the plugin jar Still not found --- So I've spent an hour getting nowhere when I can plainly download the damn jar, but m2 can't. Questions I began to ask myself: 1 - Can anyone get this to work - is it just me 2 - If this is 'supposed' to work, why can't maven find a jar + pom.xml at the specified uri 3 - Should I just re-write this using ant - after all that works 4 - Why are there no documents or other messages when you google for this (or yahoo or anything) Pom.xml section included in case anyone can see a problem: plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId !-- version0.3-SNAPSHOT/version-- version0.2/version ... pluginRepository idcodehaus-plugins-snapshots/id urlhttp://snapshots.maven.codehaus.org/maven2/url snapshots enabledtrue/enabled /snapshots releases enabledfalse/enabled /releases /pluginRepository Thanks, Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]