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

Reply via email to