How to add a plugin to Maven
Add the maven plugin to the pom.xml
file information in this tag as follows:
<plugin>
<groupId>com.sun.maven</groupId>
<artifactId>maven-junit-plugin</artifactId>
<version>1.5</version>
</plugin>
Choose a version of com.sun.maven : maven-junit-plugin to add to Maven - Latest Versions:
Version | Vulnerabilities | Updated | |
---|---|---|---|
1.5 |
maven-junit-plugin-1.5
|
||
1.4 |
maven-junit-plugin-1.4
|
||
1.3 |
maven-junit-plugin-1.3
|
||
1.2 |
maven-junit-plugin-1.2
|
||
1.1 |
maven-junit-plugin-1.1
|
||
1.0 |
maven-junit-plugin-1.0
|
Add the maven plugin to the pom.xml
file information in this tag as follows:
<plugin>
<groupId>com.sun.maven</groupId>
<artifactId>maven-junit-plugin</artifactId>
<version>1.5</version>
</plugin>
Advertisement