Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Starting from 4.1.0, a.k.a, the master branch, we are using Maven to build all the artifacts. If you are interesting interested in how to build cloudstack on 4.0.x branch, please refer to http://incubator.apache.org/cloudstack/develop/environment.htmlthe 4.0 instructions.

Maven uses the notion of a build life-cycle to which plugins can attach. Plugins are similar to Ant tasks. When a Maven build is invoked, we specify a point in the life-cycle up to which the build should proceed. The compile phase comes before test, and test comes before package, and package comes before install. Once we have Maven setup, we can invoke the Struts build, and specify which phase the build should use.

...

The agent simulator and marvin are integrated into build steps to help a developer ensure that some simple tests pass before making a commit. The developer environment needs to have Marvin installed and the marvin-nose plugin registered for the integration-test to work:

...