You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Abdelhak JIJANE <Ab...@mines.inpl-nancy.fr> on 2006/07/04 21:28:53 UTC

Error when making Maven generate an Andromda-enabled project?

Hello,

Can anybody just help me solving one of these following astonishing
errors!! Even just ideas can help me:

I always get the same error message when trying to download the plugin
andromda for Maven (speaking about this plugin, could someone send me the
correct command line to type for Andromda 3.2-RC1 & Maven 2.0.4 because I
see many different versions with andromda, andromdapp,
-Dversion=3.2-RC1:version of andromda or -Dversion=2.1:version of the
plugin ):

C:\andromda-bin-3.2-RC1>mvn plugin:download -DgroupId=andromda
-DartifactId=mave
n-andromdapp-plugin -Dversion=3.1
[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: Tue Jul 04 18:50:28 CEST 2006
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------

And even after having downloaded it 'manually', and copied almost
everywhere it could be needed (in maven's plugin directory, andromda's
plugin and library directory, in the
repository:.m2/repository/org/apache/maven...), It still does not want to
recognize it, and use it to generate an Andromda-enabled project!!

C:\andromda-bin-3.2-RC1>mvn andromda:generate
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'andromda'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-andromda-plugin' does
not exis
t or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Jul 04 18:53:18 CEST 2006
[INFO] Final Memory: 1M/2M
[INFO] -------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Error when making Maven generate an Andromda-enabled project?

Posted by Tim Kettler <ti...@udo.edu>.
Hi,

You are trying to execute a maven1 command with maven2.

Are you using this guide [1] to setup Andromda? I think it's outdated and uses maven1. If 
You want to use maven2 you should look at this guide [2].

-Tim

[1] http://galaxy.andromda.org/docs-3.1/starting.html
[2] http://galaxy.andromda.org/index.php?option=com_content&task=view&id=105&Itemid=89

Abdelhak JIJANE schrieb:
> Hello,
> 
> Can anybody just help me solving one of these following astonishing
> errors!! Even just ideas can help me:
> 
> I always get the same error message when trying to download the plugin
> andromda for Maven (speaking about this plugin, could someone send me the
> correct command line to type for Andromda 3.2-RC1 & Maven 2.0.4 because I
> see many different versions with andromda, andromdapp,
> -Dversion=3.2-RC1:version of andromda or -Dversion=2.1:version of the
> plugin ):
> 
> C:\andromda-bin-3.2-RC1>mvn plugin:download -DgroupId=andromda
> -DartifactId=mave
> n-andromdapp-plugin -Dversion=3.1
> [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: Tue Jul 04 18:50:28 CEST 2006
> [INFO] Final Memory: 1M/3M
> [INFO]
> ------------------------------------------------------------------------
> 
> And even after having downloaded it 'manually', and copied almost
> everywhere it could be needed (in maven's plugin directory, andromda's
> plugin and library directory, in the
> repository:.m2/repository/org/apache/maven...), It still does not want to
> recognize it, and use it to generate an Andromda-enabled project!!
> 
> C:\andromda-bin-3.2-RC1>mvn andromda:generate
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'andromda'.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-andromda-plugin' does
> not exis
> t or no valid version could be found
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Tue Jul 04 18:53:18 CEST 2006
> [INFO] Final Memory: 1M/2M
> [INFO] -------------------------------------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org