Reputation: 1
I created a JUnit extension in a maven plugin project and I want to use this plugin and the JUnit extension in another project, but I have no idea how can I export and import dependencies of the maven plugin and the JUnit extension.
I tried to import the plugin
in other project like this
<plugins>
...
<plugin>
<groupId>com.project</groupId>
<artifactId>project-maven-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<executions>
<execution>
<goals>
<goal>my-goal</goal>
</goals>
</execution>
</executions>
</plugin>
...
</plugins>
But it is not working. Thank you for the help
Upvotes: 0
Views: 147