You can build the IME on isda-build1.mit.edu .
1. (ONE TIME SETUP) download the latest version of maven at http://maven.apache.org/download.html (maven 2.0.7)
2. (ONE TIME SETUP)
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 mvn and svn are in your path. On isda-build1, that's in /usr/local/bin and /usr/bin respectively.
c. make sure that JAVA_HOME is set to the location of your JDK. On isda-build1, that's /usr/java/jdk1.6.0
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/ime//trunk/thalia and run
mvn clean package
it will generate the war file
5. to deploy the war:
a. Currently, it will deploy to thalia-dev.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
6. If you have to make configuration changes:
Part of the profile definition is in ime\Trunk\thalia\pom.xml under the profiles section. It specifies which servers to deploy to in each environment. Part of the profile definition is in thalia\ime\Trunk\thalia\src\main\filters*.properties files. It specifies the alfresco server address/port, alfresco passwords for user and admin. To change the development environment, edit dev.properties.
For more info on maven, go to :
http://maven.apache.org/run-maven/index.html
Maven book is at: http://www.sonatype.com/book/