maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: Need to customize existing maven command
Date Fri, 11 Feb 2011 10:42:45 GMT
Still don't understand what you're trying to do.

/Anders

On Fri, Feb 11, 2011 at 10:45, Pankaj <pankajit03@rediffmail.com> wrote:

>
> Hi Anders,
>
> Thanks for your response.
> I could get it working. It was the plugin prefix which i wanted to change.
> To do this -
>
> In .m2\repository\org\apache\maven\plugins\ maven-metadata-central.xml,
> modify prefix archtype to xyzarchetype
>
>  <plugin>
>      <name>Maven Archetype Plugin</name>
>      <prefix>xyzarchetype</prefix>
>      <artifactId>maven-archetype-plugin</artifactId>
>    </plugin>
>
> When you specify a new plugin prefix like mvn xyzarchetype:create, Maven is
> going to scan the repository metadata for the appropriate plugin prefix.
> First, Maven is going to scan the org.apache.maven.plugins group for the
> plugin prefix hibernate3. If it doesn't find the plugin prefix xyzarchetype
> in the org.apache.maven.plugins group it will scan the metadata for the
> org.codehaus.mojo group.
>
> - Pankaj
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Need-to-customize-existing-maven-command-tp3380707p3380894.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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