- Maven plugin is an execution framework to execute specific set of goals like
Maven core plugins:
- clean : Clean up after the build.
- install : Install the built artifact into the local repository.
- deploy : Deploy the built artifact to the remote repository.
- compiler : Compiles Java sources.
- resources : Copy the resources to the output directory for including in the JAR.
- surefire : Run the JUnit unit tests in an isolated classloader.
Maven tools:
- jar - create jar file
- war- create war file
- ejb - create ejb from current project
- ear - create ear from current project
- rar - create rar from current project
- archetype - generate a skeleton project structure from an archetype.
- dependency - dependency manipulation (copy, unpack) and analysis.
- There are two type of maven plugins.
- Build plugins will be executed during the build and they should be configured in the <build/> element from the POM.
- Reporting plugins will be executed during the site generation and they should be configured in the <reporting/> element from the POM.
No comments:
Post a Comment