Maven is used as the build tool of Axis 2.0. This document will provide a quick guide on how to use Maven with your developments.
Command
|
Description
|
---|---|
maven
|
Downloads relevant jars if not available, and compiles and runs the
tests in the system.
|
maven clean | Cleans all the content built so far in the target folder. This will not clean the jar repository. |
maven test
|
Runs only the tests. Performs automatic compilation of the changed
sources as well. This will not run SOAP interop tests
|
maven clean all-tests
|
Cleans up and runs all offline and online 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 the tests for say the modules/integration, run "maven test
itest" from modules/integration
|
maven -g
|
Lists down all the commands available with Maven.
|
maven multiproject
|
Generates the site.
|
maven idea:multiproject
|
Generates 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 plug-in and artifact plug-in. Run the following to
get it updated.