Maven is used as the build tool of Axis 2.0. This document will provide a quick guide to use maven with your developments.
Command
|
Description
|
---|---|
maven
|
download relevant jars, if not available and compile and run tests of
the system.
|
maven clean | Clean all the stuff build so far, that are in the target folder. This will not clean the jar repository |
maven test
|
run only the tests. Will do automatic compilation of changed sources
as well. This will not run soap interop tests
|
maven clean all-tests
|
Clean up and run all off line and on line tests
|
maven itest
|
To run the online-mode tests for say the modules/integration Run
"maven itest" from modules/integration
|
maven test itest
|
To run all tests for say the modules/integration Run "maven test
itest" from modules/integration
|
maven -g
|
List down all the commands available with maven
|
maven multiproject
|
generate this site
|
maven idea:multiproject
|
generate IDEA .ipr, .iml and .iws project files
|
maven -Dmaven.test.skip=true
|
|
1. I have problems with maven 1.1
It seems that maven 1.1 doesn't come bundled with the required itest
plugin and artifact plugin. Run followings to get it updated
1. maven plugin:download -DgroupId=maven-itest-plugin
-DartifactId=maven-itest-plugin -Dversion=1.0
-Dmaven.repo.remote=http://www.openejb.org/maven,http://www.ibiblio.org/maven
2. maven plugin:Download -DgroupId=maven -DartifactId=maven-artifact-plugin
-Dversion=1.6