And to add to that, if you're behind a Maven proxy/manager (like Nexus,
Artifactory, or Archiva) forcing a update might still not help as the Maven
proxy also needs to refresh its cached metadata. For Nexus that happens
after 24 hours by default I believe. So if it still doesn't work, wait a day
an
bluewhale wrote:
Downloaded:
http://repo1.maven.org/maven2/org/codehaus/cargo/maven-metadata.xml
[...]
[ERROR] No plugin found for prefix 'cargo'
The proper metadata is now out such that "mvn cargo:help" works as intended.
Please note that Maven refetches metadata by default only once a day.
We're working on this on the Cargo dev list. For some reason the metadata
for the Cargo plugin is wrong. It should be "cargo" as a prefix, not
"cargo2". The JIRA ticket to get this fixed at Codehaus (and then synced to
central) is HAUS-2107 [1] if anyone wants to follow the progress.
/Anders
[1]
> mvn carg2:help works. I got some successful maven downloads with this
> command.
>
> [ERROR] No plugin found for prefix 'glassfish' in the current project and in
> the plugin groups [org.codehaus.cargo, org.apache.maven.plugins,
What is the exact command you are trying to run? Copy and paste fro
org/maven2)]
at
org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:92)
Mabe this is another problem with the release. I will check with the cargo
list.
Thanks for your reply.
Stefan
--
View this message in context:
http://maven-users.828.n2.nabble.com/M
bluewhale wrote:
Downloaded:
http://repo1.maven.org/maven2/org/codehaus/cargo/maven-metadata.xml
[...]
[ERROR] No plugin found for prefix 'cargo'
It appears something went wrong during the last release of Cargo, the
mentioned metadata file lists "cargo2" as the plugin prefix which
however co
:\Users\Stefan\.m2>
--
View this message in context:
http://maven-users.828.n2.nabble.com/Maven-3-and-cargo-plugin-tp6007841p6654331.html
Sent from the maven users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: us
ons, please
rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundF
orPrefixException
C:\Users\Stefan\.m2>
--
View this message in context:
http://maven-users.828.n2.nabble.com/Maven-3-and-cargo-plugin-tp6007841p6654316.html
Sent from the m
> I have no clue. There shouldn't be any difference. I'm guessing there is
> some difference in your maven 2 and maven 3 execution environments.
Nope:
I unpacked the binary tar archives for both Maven 2 and 3 in /usr/local, i.e.
there are directories /usr/local/apache-maven-{2.2.1, 3.0.2}. There'
I have no clue. There shouldn't be any difference. I'm guessing there is
some difference in your maven 2 and maven 3 execution environments.
/Anders
On Wed, Feb 9, 2011 at 20:52, Thorsten Heit wrote:
> Hi,
>
> > You need to declare 'org.codehaus.cargo' as a pluginGroup in your
> > settings.xml:
Hi,
> You need to declare 'org.codehaus.cargo' as a pluginGroup in your
> settings.xml:
>
>
>org.codehaus.cargo
>
Ok, thanks, I'll try it tomorrow when I'm back at work.
OTOH: Why can Maven 2 find the Cargo plugin without having the above section in
the settings.xml? AFAIK M2 only sear
Hi,
> which version of the cargo plugin do you use?
>
> Can you give a snippet of your POM.xml where you configure cargo, cause i'm
> using cargo with maven 3.0.X
For testing purposes I only added the following minimalist configuration
snippet to my pom.xml as explained on the Cargo website
You need to declare 'org.codehaus.cargo' as a pluginGroup in your
settings.xml:
org.codehaus.cargo
/Anders
On Wed, Feb 9, 2011 at 15:31, Thorsten Heit wrote:
> Hi,
>
> according to the Cargo docs "mvn cargo:help" prints a short description,
> but that seems to work only with Maven 2;
Hi Thorsten,
which version of the cargo plugin do you use?
Can you give a snippet of your POM.xml where you configure cargo, cause i'm
using cargo with maven 3.0.X
Kind regards
Karl Heinz Marbaise
--
MfG
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 41
Hi,
according to the Cargo docs "mvn cargo:help" prints a short description, but
that seems to work only with Maven 2; with Maven 3 I'm getting the following
error:
(...)
[ERROR] No plugin found for prefix 'cargo' in the current project and in the
plugin groups [org.apache.maven.plugins, org.c
15 matches
Mail list logo