Reputation: 65
I am very new in Maven. I need to create maven plugin which should print names.
So if I want to use this plugin in my other projects I need to have below plugin configuration
<configuration>
<Team>
<name>test1</name>
<name>test2</name>
<name>test3</name>
</Team>
<enabled>true</enabled>
</configuration>
I have tried to look for any tutorial in creating plugin using archetype. no success Need help or you can provide good source on maven plugin
Upvotes: 2
Views: 1780
Reputation: 8323
A maven plugin is a simple java class extending AbstractMojo
. An archetype is an abstract generic maven project which allows to generate a concrete maven project skeleton.
See http://maven.apache.org/guides/plugin/guide-java-plugin-development.html for creating custom maven plugin
Upvotes: 3