You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Chris Maki <ch...@me.com> on 2008/11/19 21:02:31 UTC

Maven Archetype plugin

Hi

I had a question about the maven-archetype-plugin and archetype- 
catalog.xml. Currently the plugin will check in ~/.m2/ for a local  
catalog if you use the -DarchetypeCatalog=local option.  It would be  
nice if the plugin could also searched for the catalog in the global  
config dir much like the way Maven searches for the settings.xml file  
in the global conf dir and then in the users ~/.m2 directory.  At work  
we package Maven along with a company standard settings.xml and I  
would like to do the same thing with the archetype catalog.

I'd be happy to open a JIRA ticket and submit a code patch but I  
wanted to run this by the dev list first to see if this fits in with  
the plugins future direction.

Thanks for your time

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Maven Archetype plugin

Posted by Brett Porter <br...@apache.org>.
It makes sense for me for everything to behave consistently betwen  
~/.m2 and $M2_HOME/conf.

Cheers,
Brett

On 20/11/2008, at 7:02 AM, Chris Maki wrote:

> Hi
>
> I had a question about the maven-archetype-plugin and archetype- 
> catalog.xml. Currently the plugin will check in ~/.m2/ for a local  
> catalog if you use the -DarchetypeCatalog=local option.  It would be  
> nice if the plugin could also searched for the catalog in the global  
> config dir much like the way Maven searches for the settings.xml  
> file in the global conf dir and then in the users ~/.m2 directory.   
> At work we package Maven along with a company standard settings.xml  
> and I would like to do the same thing with the archetype catalog.
>
> I'd be happy to open a JIRA ticket and submit a code patch but I  
> wanted to run this by the dev list first to see if this fits in with  
> the plugins future direction.
>
> Thanks for your time
>
> Chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org