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>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<!-- <version>0.3-SNAPSHOT</version>-->
<version>0.2</version>
...

<pluginRepository>
<id>codehaus-plugins-snapshots</id>
<url>http://snapshots.maven.codehaus.org/maven2</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>

Thanks,
Kev

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

Reply via email to