Building AndroMDA from the source is quite easy, just follow these steps:
andromda-src-*.zipinto a directory of your choice.
maven
That's it! The contents will be installed into both your local maven repository (for maven users) and the target/distributions (for those still using Ant).
The same rules apply if you want to build from CVS version. Just checkout the
andromda-allmodule from
AndroMDA CVS
, and
proceed as before.
Different goals can be called in order to build the sources, it is even possible to call goals in the different sub-projects, that's because we are using the Maven Multi-Project plugin .
-o command line parameter will tell Maven not to download any
dependencies, this will speed up the build process.-Dmaven.test.skip=true.These goals can be executed in the root of the AndroMDA source tree.
mavenclean-dist (see below).
maven clean-distmaven docsmaven distExecute these goals in the root of the AndroMDA source tree.
maven install-componentsmaven install-samplesmaven installmaven deploymaven xfr-distmaven deploy).
maven deploy-no-testsmaven clean/target directories, *.log* files
and files with the .exc extension.
maven dist-binmaven dist-srcmaven bootstrap-installmaven deploy-distributionmaven deploy-docsmaven deploy-repositorymaven deploy-buildmaven update-xmi -DxmiToken=oldVersion -DxmiValue=newVersionoldVersion and replacing it with newVersion. This goal is to be
used when releasing a new version.
Execute the goals where the AndroMDA plugins are located, ie.
/maven/andromda, /maven/andromdapp, /maven/cartridge ...
maven plugin:installThe following goals can be called in each cartridge subdirectory.
maven jar:install
Execute these goals to build the generic metafacades, you will need to execute them
in /metafacades/uml.
maven install
The following goals can be called in each cartridge subdirectory, or in
/documentation.
maven xdoc