You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Christian López Espínola <pe...@gmail.com> on 2006/07/13 19:53:33 UTC

plugin:download Failed

Hola a todos,

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
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Jul 13 19:49:13 CEST 2006
[INFO] Final Memory: 1M/3M
[INFO] ------------------------------------------------------------------------

Could you help me? Thanks in advance.

-- 
Christian López Espínola

Re: plugin:download Failed

Posted by Christian López Espínola <pe...@gmail.com>.
Thanks, Alan.

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

On 7/13/06, Alan D. Salewski <as...@healthmarketscience.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Christian López Espínola

Re: plugin:download Failed

Posted by "Alan D. Salewski" <as...@healthmarketscience.com>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org