I am new to Maven and made a hello world maven plugin (as tutorialed here: http://maven.apache.org/guides/plugin/guide-java-plugin-development.html).
I also have a hello world maven project (not a plugin) as documented here: http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
Now, I want the project to include the hello-world plugin because that plugin has a “sayhi” goal I want to run.
How do I do this? What is the absolute easiest, fastest way, and what is the most ‘proper’ way?
mvn installon the plugin so it is installed in your local Maven repository.<plugin>element under<build>:For example: