What are the different type of plugins?
Answers
Answer:
There are various types of maven plugins.
Explanation:
1- Build plugins : This one is used for the execution during build processes.
2. Reporting plugins : This one is used for execution during a site generation process
3. Clean plugin : This Plug-in is used to clean up target after the build process is done. It is used to permanently delete the target directory.
4. Compiler plugin: This Plug-in is used to compile Java source files.
5. Surefire Plugin : This Plug-in is used to run the J-Unit, unit tests. Used to create test reports.
6. Jar plugin : This Plug-in is used to build a JAR file from a current project.
7. War plugin : This Plug-in is used to build a WAR file from a current project.
8. Javadoc plugin : This Plug-in is used to generate Javadoc for the project.
9. Antrun plugin: This Plug-in is used to run a set of ant tasks which may be done from any phase mentioned in the build.
Answer:
1- Build plugins : This one is used for the execution during build processes. 3. Clean plugin : This Plug-in is used to clean up target after the build process is done.