Hi Nino,

The best way to start creating an archetype is to :
- create a project (in your case a multi-module with a switch)
- call mvn archetype:create-from-project on your example project

you then try your archetype by :
- moving in target/generated-sources/archetype from your example project
- call mvn install
- move in a fresh directory
- call mvn archetype:generate -DarchetypeCatalog=local

Hope this helps


Raphaël

2008/8/26 Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]>:
> Hi
>
> Where can I find some tutorials on howto do archetypes? It would be really
> cool with an tutorial on howto make multimodule archetypes.
>
> Im wanting todo a archetype for Apache Wicket which includes 2 modules, web
> and core both being switchable with a parameter. Forexample if you want a
> guice or spring project... If you are a maven guru and want to participate
> please write me:)
>
> --
> -Wicket for love
>
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to