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

Compare with Current View Page History

Version 1 Next »

1. download the latest version of maven at http://maven.apache.org/download.html (maven 2.0.7)

2.
 a. Unzip  Unzip maven-2.0.7-bin.zip to the directory you wish to install Maven 2.0.7.
 b. Add the bin directory to your path
 c. make sure that JAVA_HOME is set to the location of your JDK
        d. Run mvn --version to verify that maven is correctly installed .

3. check out the thalia code from svn: svn+ssh://username@svn.mit.edu/zest/thalia-maven

4. go to the directory thalia-maven/trunk/thalia and run
mvn clean package

it will generate the war file

5. to deploy the war:
  a. Currently, it will deploy to isda-thalia-1.mit.edu. You need to modify the pom.xml file to specify a different location
  b. to specify tomcat authentication info, add the following line in settings.xml in $M2_HOME/conf/settings.xml
    <server>
      <id>deploymentserver</id>
      <username>username</username>
      <password>password</password>
    </server>

  c. do
 mvn tomcat:deploy

For more info on maven, go to : http://maven.apache.org/run-maven/index.html

Maven book is at: http://www.sonatype.com/book/

  • No labels