We use Maven to build GLAST Java software packages.

Download and Install Maven

Download and install the latest version of Maven from the Maven web site http://maven.apache.org/ (download and installation instructions are provided on the Maven home page).

Installation is simple, requiring just these two steps:

  1. Define the MAVEN_HOME environment variable which is the directory where you just unpacked the Maven install archive. (If you are using the Windows Installer this variable will be set for you).
  2. Define the JAVA_HOME environment variable.

For example, my MAVEN_HOME environment variable was set for me when I installed maven-1.0.2.exe to C:\Program Files\Apache Software Foundation\Maven 1.0.2, and my JAVA_HOME environment variable is set to C:\j2sdk1.4.2_05.

For your convenience we also maintain a local cache of the Maven 1.0.2 release in the following formats.

Use Maven

All GLAST Java projects you checkout from CVS use Maven. To build a software package

  1. check it out from CVS
  2. open a cygwin, DOS or UNIX shell prompt and cd to the project's directory
  3. type maven

Resources

  • No labels