Freitag, 17. April 2009

Example of Configuration for Maven in WindowsXP

1. Java Environment Variable
JAVA_HOME=x:\JDK_1.4.2
PATH=%JAVA_HOME%\bin;%PATH%
CLASSPATH=.;%JAVA_HOME%\lib\tools.jar

2. Maven Environment Variable
M2_HOME=C:\Program Files\Apache Software Foundation\apache-maven-2.0.10
M2=%M2_HOME%\bin
MAVEN_OPTS=-Xms256m -Xmx512m(Optional)

Update/create the Path environment variable in the user variables and prepend the value %M2% to add Maven available in the command line.

Keine Kommentare: