maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: plugins and short command line with version
Date Tue, 26 Oct 2010 18:25:40 GMT
It don't think it is possible. I always use the long command when I need to
specify the version.

/Anders

On Tue, Oct 26, 2010 at 20:01, squidy78 <squidy78@gmail.com> wrote:

> Hello
>
> How is it possible to define the version of a plugin in the command line
> when using the short command for calling a plugin?
>
> Calling the plugin in this way works fine:
>
> mvn my.test.groupid.plugins:helloworld:0.0.1-SNAPSHOT:hello
>
> But calling this way, maven doesn't find the plugin:
>
> mvn helloworld:hello (--> error resolving version for plugin
> 'my.test.groupid.plugins:helloworld'...)
> or
> mvn helloworld:0.0.1-SNAPSHOT:hello (--> error resolving version for plugin
> 'helloworld:0.0.1-SNAPSHOT'...)
>
> How would it be possible to define the Version here?
>
> Or has Maven problems because of the SNAPSHOT version?
>
> The entry in the settings.xml is here:
>
> <pluginGroups>
>  <pluginGroup>my.test.groupid.plugins</pluginGroup>
> </pluginGroups>
>
> Thanks
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message