How do I create a plugin that doesn't require a pom.xml?

Even the hello world described on this page requires it:
http://maven.apache.org/guides/plugin/guide-java-plugin-development.html

You get this error if you try to run it where no pom.xml is present.
[INFO] Cannot execute mojo: sayhi. It requires a project with an
existing pom.xml, but the build is not using one.

Surely it must be possible.  "mvn help:help" is an example of one that
it lets me run from anywhere.

Thanks,
Phillip

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to