This page was moved to https://cwiki.apache.org/confluence/display/CAUSEWAY/UsingMaven3
Click in the link above if you are not automatically redirected in 10 seconds.


Maven 3.0.0 can be used to build ("mvn clean install"), but the site plugin has changed in 3.0.0 and so we haven't yet reworked the POMs for this ("mvn site-deploy"). Therefore Maven 3.0.0 should be considered unsupported until we sort that out (see ISIS-11 ticket)

Download & Install

Maven (http://maven.apache.org)

  • download from http://maven.apache.org/download
  • unzip
  • set M2_HOME to Maven home directory (ie apache-maven-3.0)
  • add $M2_HOME/bin to your system $PATH
  • set MAVEN_OPTS to -Xms512m -Xmx1024m
m2eclipse users:

Windows>Preferences>Maven>Installations
and point to maven

Maven Shell (http://shell.sonatype.org/)

Usage

Running in Parallel (experimental)
  • mvn -T2
    • to build with 2 threads
  • mvn -T2C
    • to build with 2 threads per core
mvn shell
  • mvnsh
  • then use mvn as normal
  • No labels