Maven
Why Maven?
Its not only build tool.
also a Project management tool.--> managing your java projects' what does it mean?
Creating a java project using by IDE, that's is IDE specific, If we wants general then we go for MAVEN.
A Java project Structure.
1. Source Code
2. Test Code
3. project structure(directories, assets,
resources)
4.Libraries/ dependencies.
5. Configuration--> how jar will work.
6. Task runner-->build, Test, run
7. Reporting.
Maven is a open source Project and it's a Apache Project.
. Maven provides project structure and manages content.
. Helps manage dependencies.
. Configurable project object model.
.maven tasks- goals and targets.
CHARACTERISTICS:
1. Convention over Configuration.
2. Consistent
3. Configurable
4. IDE agnostic
5. IDE supported.
6. Declarative dependency management
7. plugin based architecture
COMMAN PROBLEMS AND ACTIVITIES:
- Multiple jars
- Dependencies and versions
- Project structure
- Building, Publishing and deploying.
- Archetype
- Group ID
- Artifact ID
- Version
- Package
Comments
Post a Comment