Building AndroMDA from the source is quite easy, just follow these steps:
andromda-src-*.zip
into 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-all
module 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.
maven
clean-dist
(see below).
maven clean-dist
maven docs
maven dist
Execute these goals in the root of the AndroMDA source tree.
maven install-components
maven install-samples
maven install
maven deploy
maven xfr-dist
maven deploy
).
maven deploy-no-tests
maven clean
/target
directories,
*.log*
files
and files with the
.exc
extension.
maven dist-bin
maven dist-src
maven bootstrap-install
maven deploy-distribution
maven deploy-docs
maven deploy-repository
maven deploy-build
maven update-xmi -DxmiToken=oldVersion -DxmiValue=newVersion
oldVersion
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:install
The following goals can be called in each cartridge subdirectory.
maven jar:install