Why Maven?
Let's look what are the things a everyday developer does:1. Write Code
2, Add library to the Project
2. Compile Code
3. Run unit test
4. Package Code (Jar,War,Ear etc)
5. Deploy the binary to to Production or Test environment (Tomcat Jetty etc)
This whole thing can be automated using Maven.
Concept Must Understand :
1. POM(Project Object Model)
2. Super POM
3.Parent POM
4.Plug-in
5.Repository
6.Dependency
7.Transitive Dependencies
8.Maven Archetypes
9. Maven Directory Structure
Important Notes: If you execute any command in the life cycle maven will execute all the prior commands before executing the command. for example if you run "Test" Command maven will first run validate and compile command then it will run the Test Command .
Good to know Maven Concept :
1. Scope of a Dependency2. Effective POM
4. Effective Settings
5. Dependency Hierarchy
6. Versioning of Dependency
7. Plug-in Goals
8. Plug-in Phase
9.Multi Module Maven Project
will continue...
No comments:
Post a Comment