![]() Let us understand it in a better way and create a pom.xml in C:\MVN\project folder. We've used maven-antrun-plugin extensively in our examples to print data on console. Runs a set of ant tasks from any phase mentioned of the build. Creates test reports.īuilds a JAR file from the current project.īuilds a WAR file from the current project. They execute during the site generation process and they should be configured in the element of the pom.xml.įollowing is the list of few common plugins − Sr.No.Ĭleans up target after the build. They execute during the build process and should be configured in the element of pom.xml. Maven provided the following two types of Plugins − Sr.No. Maven Plugins are generally used to −Ī plugin generally provides a set of goals, which can be executed using the following syntax −įor example, a Java project can be compiled with the maven-compiler-plugin's compile-goal by running the following command. Maven is actually a plugin execution framework where every task is actually done by plugins.
0 Comments
Leave a Reply. |