Still don't understand what you're trying to do. /Anders
On Fri, Feb 11, 2011 at 10:45, Pankaj <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > >
