So without further delay watch the screencast below:
Screencast: introducing Wicketstuff Iolite
4 09 2008Comments : Leave a Comment »
Categories : JAVA, Maven, wicket
Making a Maven Archetype
3 09 2008So I want to create a maven archetype. My first run at this were a couple of months ago, it were pretty hard but then again I built the archetype from scratch.
I use userlist’s a lot so and though that it were very awkward how I did the previous archetype. So I wrote maven user list asking and theres actually a maven goal for it. So you can create an archetype in 6 steps:
- Build a project that will act as a template for the archetype
- run mvn archetype:create-from-project , from the project folder
- Edit the generated archetype ( placed in target/generated-sources/archetype ), it might not pickup on everything that needs to be substituted.
- From target/generated-sources/archetype of the project template run mvn install
- Try the archetype yourself by running mvn archetype:generate -DarchetypeCatalog=local from a fresh directory
- Repeat the process until satisfied
Now this also works for projects consistent of modules, a project structure like below:
Root |-Core |-Web
Happy Archetyping:)
Comments : 4 Comments »
Categories : JAVA, Maven