Simplified Maven Setup Step 1
1st settings.xml - your information
2nd settings.xml - organizations repository information
I setup the maven internal repository following the directions at
Better Builds with Maven (based on maven 2.0)
http://www.mergere.com/m2book_download.jsp
Install maven somewhere on your hard drive and define MAVEN_HOME directory as an environment variable.
MAVEN_HOME=C:\Program Files\Apache Software Foundation\maven-2.0.4
I would also make sure that maven is in your path
My PATH variable is obviously depending on versions of the Java, Ant and Maven this will differ for you but I would suggest having Java , Ant and Maven all in your path
So you can run ant,mvn and javac from the command line .
user.home directory\.m2\settings.xml
(has your profile and login information)
on my machine
C:\Documents and Settings\Robert Sinner\.m2\settings.xml
It has your internal repository's location, where you deploy your code to be shared with others in your organization.
on my machine
C:\Program Files\Apache Software Foundation\maven-2.0.4\conf\settings.xml
These must be completed before other steps can be followed.
Modify the first file to replace
<username>yourfirstname</username>
<password>yourlastname</password>
With your lower case firstname and lastname accordingly
<cargo.tomcat5x.home>c:/opt/tomcat</cargo.tomcat5x.home>
On my machine this is
C:\Documents and Settings\Robert Sinner\.m2\settings.xml
The second settings.xml file copy can be shared across your organization and saved inside of
%MAVEN_HOME%/conf/settings.xml
On my machine this is C:\Program Files\Apache Software Foundation\maven-2.0.4\conf\settings.xml
