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.


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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