cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: CXF projects in Maven archetype plugin
Date Tue, 27 Jul 2010 19:23:08 GMT
On Tuesday 27 July 2010 10:25:31 am Glen Mazza wrote:
> Hi, when I type mvn archetype:generate from the command prompt I get a huge
> number of skeleton projects to choose from (249 from my machine).  Two of
> them are for CXF projects:
> 40: remote -> cxf-http-basic (null)
> 41: remote -> cxf-jaxws-javafirst (null)
> Question: How did I get a list of 249?  Does Maven somehow scroll through
> my respository to determine the 249 archetypes available, or are these
> manually hardcoded within the mvn archetype plugin (i.e., to add more CXF
> archetypes we would need to submit a patch to the Maven team?)

I think it depends on the version of the archetype plugin.     The old 1.x 
version of the archetype plugin did have them burned in and adding to the list 
required new releases of the archtype plugin, which sucked.

The 2.x version of the archetype plugin keeps a registry.   The main one it 
looks at is:
I have no idea how that gets updated.   It doesn't look like it's been updated 
in a while.    In theory, just deploy new archetypes and once a week or so the 
indexer would go through and add them.   No patch needed to go to the maven 

There is a archetype:crawl and archetype:update-local-catalog target for 
creating a catalog for your local repo.  I don't know much about them.

Daniel Kulp

View raw message