--- Jose Carlos <[EMAIL PROTECTED]> wrote:
> I am trying to use in a project the AndroMDA with
> the Maven. An error occurs when the Maven tries to
> execute andromda:run:
> 
> BUILD FAILED
> File...... file:/home/jose/workspace/nevcev/
> Element... maven:reactor
> Line...... 29
> Column.... 35
> Unable to obtain goal [cev-build] --
> file:/home/jose/workspace/nevcev/core/:22:25:
> <maven:maven> Unable to obtain goal [pom:install] --
>
file:/home/jose/.maven/plugins/maven-andromda-plugin-3.0-SNAPSHOT/:86:48:
> <ant:taskdef> taskdef class
> org.andromda.core.anttasks.AndroMDAGenTask cannot be
> found
> Total time: 44 seconds
> Finished at: Thu Apr 08 12:21:45 BRT 2004

Hmm strange, it looks like it can't find the AndroMDA
ank task for some reason.   Animal Quiz builds fine
for you, right?  Can you run maven with a '-X' and see
if it shows you any more helpful output?   Just type
'maven -X'....it will print out all the debugging
info.

Also, which version of Maven are you using?  I would
recommend rc2 (even though it has a minor bug, I talk
about on Building AndroMDA from Scratch), because its
much better at memory handling and a lot of bugs have
been fixed.  If you do upgrade to rc2 you'll need to
make sure you delete your plugin cache
($HOME/.maven/plugins) before you run it or else
you'll have strange errors. 

> 
> 
> I tried to make similar to the AnimalQuiz Sample
> Project.
> 
> Chad... can you help me?
> You can see my configuration files for the Maven
> below:
> 
> 
> Main:
> 
> maven.xml
> 
> <project default="cev-build"
>          xmlns:maven="jelly:maven">
> 
>       <!--
>
==================================================================
>                        Clean
>               
>
==================================================================
> -->
>       <goal name="cev-clean">
> 
>               <maven:reactor
>               basedir="${basedir}"
>                       includes="*/project.xml"
>                       goals="cev-clean"
>                       ignoreFailures="false"
>                       postProcessing="false"
>                       banner="Build NEV-CEV project:"/>
> 
>       </goal>
> 
>       <!--
>
==================================================================
>                        Build all projects
>               
>
==================================================================
> -->
>       <goal name="cev-build">
> 
>               <maven:reactor
>                      basedir="${basedir}"
>                      includes="*/project.xml"
>                      goals="cev-build"
>                      ignoreFailures="false"
>                      postProcessing="false"/>
> 
>       </goal>
> 
> </project>
> 
>
-------------------------------------------------------
> Core Module
> 
> maven.xml
> <project default="cev-build"
>          xmlns:texen="texen"
>          xmlns:maven="jelly:maven"
>          xmlns:j="jelly:core"
>          xmlns:ant="jelly:ant"
>          xmlns:util="jelly:util">
> 
> 
>       <!--
>
==================================================================
>                        Clean
>               
>
==================================================================
> -->
>       <goal name="cev-clean">
>       </goal>
> 
>       <goal name="cev-build">
>               <attainGoal name="cev-mda"/>
>       </goal>
> 
>       <goal name="cev-mda">
>               <maven:maven
>                       descriptor="${basedir}/mda/project.xml"
>                       goals="pom:install"/>
>       </goal>
> 
> </project>
> -----------------------------------------------
> MDA module
> 
> maven.xml
> 
> <project>
> 
> 
> 
>       <preGoal name="pom:install">
> 
>               <attainGoal name="andromda:run"/>
> 
>       </preGoal>
> 
> 
> 
> </project>
> 
> project.xml
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <project>
>   <extend>../project.xml</extend>
>   <name>NEV-CEV-CORE-MDA</name>
>   <id>nev-cev-core-mda</id>
>   <shortDescription>CEV - Core
> MDA</shortDescription>
> 
>   <description>
>     Este sub-projeto destina-se a utilizar o
> AndroMDA
>     na gera��o de c�digo java a partir do modelo
> UML.
>   </description>
> 
>   <dependencies>
> 
>               <dependency>
>                       <groupId>andromda</groupId>
>                       <artifactId>maven-andromda-plugin</artifactId>
>                       <version>${andromda.version}</version>
>                       <type>plugin</type>
>               </dependency>
> 
>               <!-- specify the plugins we want for mda -->
>               <dependency>
>                       <groupId>andromda-cartridges</groupId>
>                       <artifactId>andromda-ejb-cartridge</artifactId>
>                       <version>${andromda.version}</version>
>               </dependency>
>               <dependency>
>                       <groupId>andromda-cartridges</groupId>
>               
> <artifactId>andromda-java-cartridge</artifactId>
>                       <version>${andromda.version}</version>
>               </dependency>
>               <dependency>
>                       <groupId>andromda-cartridges</groupId>
>               
>
<artifactId>andromda-bpm4struts-cartridge</artifactId>
>                       <version>${andromda.version}</version>
>               </dependency>
>       </dependencies>
> 
> </project>
> 
> Thanks
> 
> Jose Carlos
> JCMOJ
> 
> [EMAIL PROTECTED]
> Quer internet Gr�tis com qualidade e muito mais
> servi�os? Escolha o Caminho Mais Curto! Ubbi free!
> baixe agora o discador - http://free.ubbi.com.br/
> 
> 
> 
>
-------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux
> Tutorials
> Free Linux tutorial presented by Daniel Robbins,
> President and CEO of
> GenToo technologies. Learn everything from
> fundamentals to system
>
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
> _______________________________________________
> Andromda-devel mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/andromda-devel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to