Maven
Maven
Module : Maven
Copyright © 2009 Accenture All Rights Reserved. Accenture, its logo, and Accenture High Performance Delivered are trademarks of Accenture.
Module Objective
• At the end of this module, participants will be able to
understand:
– What Maven is
– The Physical Overview of Maven2
– The Maven repositories
– Maven 2 life cycle phases
– How to set the environment for Maven 2
– The pom.xml file
– How to customize the pom.xml file
– How to configure Maven with eclipse
– How to create Eclipse related files using Maven
– How to run Maven from Eclipse
Dependency
Project Object
Management
Model
Model
• Maven 2 compiles the source and the unit test. It then runs the
tests, reporting on the number of successes, failures, and errors,
as shown in the following figure:
3. Mark Select root directory and hit Browse. Browse for the directory
in which your POM file is in. Press OK.
4. You should now see your project checked under the Projects: box.
Press Finish.
• Variable = maven_exec
• Value = C:\apache-maven-2.2.1\bin\mvn.bat
• Description = Maven Executable
9. Press Ok
10. Select maven_exec from the Select Variable and press ok.