maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: Using Plugin Truncated Name
Date Mon, 06 Jan 2014 12:44:28 GMT
On 6 January 2014 12:40, Omar@Gmail <omarnetbox@googlemail.com> wrote:

> I have written my own maven mojo plugin and wish to use the truncated name
> instead of the long name to invoke it, like so:
>
> Instead of
> mvn org.apache.maven.plugins:maven-pce-plugin:pull
>
> I want use:
>
> mvn pce:pull
>
> But even though I put it under group 'org.apache.maven.plugins' and named
> it maven-pce-plugin I still get error message:
>

Nooooo don't put it there... you don't own that group Id.

Put it in your own groupId and then in your settings.xml just add your
group Id as the <pluginGroups>
http://maven.apache.org/settings.html#Plugin_Groups


> No plugin found for prefix 'pce' in the current project and in the plugin
> groups [*org.apache.maven.plugins*, org.codehaus.mojo] available from the
> repositories [local (C:\Users\omar\.m2\repository), central (
> http://repo.maven.apache.org/maven2)]
>
> What am I doing wrong? thanks for the help.
>

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