Pankaj 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.
The artifacts in the repository are meant to be read only and more or less only temporary. You're running Maven outside of its specification, you will be on your own on the consequences. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
