You need to add a plugin group for com.polarrose.com in your settings.xml.

See
http://codehaus.org/~jvanzyl/maven2/guides/plugin/guide-java-plugin-development.html

Tom

On 10/29/06, Stefan Arentz <[EMAIL PROTECTED]> wrote:

I am working on a little hack, a plugin to 'run' a spring context.

The code is at:

https://www.sateh.com/svn/stefan/polarrose-maven-spring-plugin/trunk/

And I execute it like:

mvn com.polarrose.maven:maven-spring-plugin:run \
    -
Dmaven-spring-plugin.contextPath=classpath:com/foo/applicationContext.xml

And this works fine. Great to just quickly test code (mostly things
that run as servers/services).

But, I would really like to be able to simply say

mvn spring:run [options]

Just like the jetty:run plugin works.

How would that work? I have looked at the Jetty plugin and I cannot
find anything special in there they do to make the short name work.

Is this a matter of packaging? Versioning? Or is there a global plugin
registry that I need to use?

S.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to