L.S.,
How can I override the built-in ArchetypeGenerationConfigurator with my own
variant? I have built a custom Configurator class, created a
plexus/components.xml (see below) and added some information to the pom.xml
where I want to use the custom Configuraor (see below). What am I missing
in order to get this working? Thanks in advance for any help/suggestions?
Components.xml
<component-set>
<components>
<component>
<role>org.apache.maven.archetype.ui.ArchetypeGenerationConfigurator</role>
<implementation>org.apache.servicemix.tooling.catalog.ServicemixArchetypeGenerationConfigurator</implementation>
<description></description>
<requirements></requirements>
</component>
</components>
</component-set>
Snippet from pom.xml
<build>
<plugins>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
<configuration>
<archetypeCatalog>http://servicemix.apache.org/tooling/${servicemix-version}</archetypeCatalog>
</configuration>
<extensions>true</extensions>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>catalog</artifactId>
<version>${servicemix-version}</version>
</extension>
</extensions>
</build>
-----
---
Gert Vanthienen
http://www.anova.be
--
View this message in context:
http://www.nabble.com/archetype%3Agenerate%3A-how-to-override-builtin-Configurator--tp17124862p17124862.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]