You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ma...@javector.com on 2006/08/03 15:52:58 UTC
[M2] Best way to define plugin prefixes?
I've got some custom built plugins that I need to execute from the cmd
line. E.g.,
mvn myplug:dosomething
The Guide for plugin development on the Maven 2 site indicates that to
define the prefix "myplug", I need to have the following in my
~/.m2/settings.xml
<pluginGroups>
<pluginGroup>org.myproject.plugins</pluginGroup>
</pluginGroups>
I have verified that this works, but I am looking for a solution that
will not require all the developers on our project to edit their
~/.m2/setting.xml file. We use SVN, so it would be nice if we could
edit a central settings.xml (or a POM) in the project definition once,
check it in, and have it available for all develoeprs.
Is there a way to do this?
-- Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org