Installation of maven

Ubuntu (11.04)
sudo apt-get install maven2 mvn -version
 * install maven:
 * check mvn version

Windows
wget http://apache.abdaal.com/maven/binaries/apache-maven-2.2.1-bin.zip mvn -version
 * First download the maven binaries.
 * Extract them to c:\programme for example.
 * Now try running maven with this command

Further common steps

 * If the previous steps was successful, point your browser to Nexus.
 * If you want to contribute snapshot builds and releases to the project contact your local Nexus administrator to grant you
 * the needed rights.


 * Create a file at ~/.m2/settings.xml or C:\Documents and Settings\ \.m2\repository for windows with the following entries

mysettings  env-development jboss42 mysettings  nexus http://rd.mpdl.mpg.de/nexus/content/groups/public * snapshots nexus_username nexus_password snapshots</id> nexus_username nexus_password svn co https://zim02.gwdg.de/repos/common/trunk/common_services/
 * Ask your administrator to give you the current user/password combinations and put it in the properties section of your setting.xml
 * Checkout the project, e.g common_services

mvn clean install
 * Now pick a integration test module (e.g citationmanager_ear, pubman_logic_ear or faces_logic_ear) and type
 * This will download a jboss server for integration tests to your home folder.

cd jboss mkdir server_eclipse cp jboss-<jboss-version> server_eclipse
 * Now change into homefolder and do the following steps (for Ubuntu):
 * This will copy another jboss installation into server_eclipse, since it's not possible to have the same jboss installation for the integration tests and eclipse together.
 * We will need that later if you want to use eclipse for developing.

You can now start developing. For the first try, why not trying to compile all the project modules? Go to the root of the working dir and type: mvn clean compile This should clean and compile all project modules.