- Build tool
- Project management tool
- dependency management
- generate reports
- Multiple jars
- need to bundle lots of jars to get them working
- Dependencies and versions
- need to know which versions works well with each jar
- Project structure
- Building, publishing and deploying
mvn archetype:generate- Predefined structures are listed. Hit enter for this test tutorial.(it means we chose default)
- Versions of archetype are listed. Hit enter for this test tutorial. (it means we chose default)
groupIdtype package name here.artifactIdthink this like a classname, it will be the name of the jar.versionHit enter for this test tutorial. (it means we chose default)packageHit enter for this test tutorial. (it means we chose default)- type
yand hit enter to confirm configurations.
<packaging>will be build as this, lets say jar<name>application name which will be saved as. This may be different from<artifactId>