Thanks, Alan.

Maybe I need to choose only one version, and not to mix them :P

On 7/13/06, Alan D. Salewski <[EMAIL PROTECTED]> wrote:
On Thu, Jul 13, 2006 at 07:53:33PM +0200, Christian López Espínola spake thus:
> Hola a todos,

Hi Christian,

> I'm starting using maven, I'm going to use it with AndroMDA.
> I downloaded Maven 2.0.4, and when I type
>
> mvn plugin:download -DgroupId=andromda
> -DartifactId=maven-andromdapp-plugin -Dversion=3.2
>
> I obtain the following message:
>
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'plugin'.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Required goal not found: plugin:download


Maven comes in two primary flavors: maven-1.x and maven-2.x

maven-2.x is not backward compatible with maven-1.x

The maven-1.x command line program is called 'maven'.

The maven-2.x command line program is called 'mvn' (formerly 'm2').

The command line you posted in your message is a mixture of maven-1.x
and maven-2.x, so won't work with either version.

Plugins target a specific version of maven; it looks like the plugin
you are trying to use is a maven-1.x plugin (I have not used andromda,
but the presence of the 'plugin.jelly' in the jar file a a dead giveaway
that it's a maven-1.x plugin).

It looks like you'll want to use maven-1.x to make use of that plugin,
unless there's a maven-2.x equivalent somewhere (I didn't find one when
I quickly rummaged around their site a few minutes ago[0]).

HTH,
-Al

[0] http://galaxy.andromda.org/docs/maven-andromda-plugin/download.html

--
:: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
::
Alan D. Salewski
Software Developer
Health Market Science, Inc.
:: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
::

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




--
Christian López Espínola

Reply via email to