...
- 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
- running
site-deploy
also requires specifying where to deploy to. To deploy locally, use-D deploy=local
, which will deploy to/tmp/m2-sites/isis
.
Typical Use Cases
Use case | Command |
---|---|
Quick smoke test | |
Build everything | |
Quick build of site + docs | |
Full build of site + docs, deploy locally | |
Quick build + site + docs for single module (eg, applib) | |
Deployability?
This page is still a work-in-progress. Although the set of modules that are deployable as the site is clearly defined, I haven't yet figured out how the codebase itself is to be deployed. The main issue is that the archetypes within support
and also the release
modules need to be released after the other modules that make up the standard profile. The problem I've realized is that running the mvn-release-plugin will tag all of trunk, whereas we want to run two releases. It therefore might be necessary to move support/archetypes
and release
off into their own trunk. We should see what other projects that release archetypes do, though.