Versions Compared

Key

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

...

  • most profiles that support mvn clean install also support -D build=full (basically, also builds Javadoc JARs). The exception is any profile that includes the 'release' module (we hit problems building javadoc for 'release'; it also doesn't really make sense).
  • similarly, most profiles supporting mvn site-deploy also support -D site=full (basically, full reports, Javadoc, JXR, metrics, code coverage etc). The exception again is those profiles including 'release'
  • the prereqs to building the site are (a) to build the skin, and (b) to install the JIMI package into the local repo using mvn install:install-file -D groupId=com.java -D artifactId=jimi -D version=1.0 -D packaging=jar -D file=/path/to/file

Typical Use Cases

Use case

Command

Quick smoke test

mvn clean install -o

Build everything

mvn clean install -D modules=all -o

Quick build of site + docs

mvn site-deploy -o

Full build of site + docs

mvn site-deploy -D modules=standard -D site=full -o

Quick build + site + docs for single module (eg, applib)

mvn clean install site-deploy -D modules=applib -o

...