Hi,

I've been playing arround with maven archetypes as described in
http://maven.apache.org/guides/mini/guide-creating-archetypes.html

Things went faster as expected and at the end I came up with a maven
archetype for wicket. The archetype creates a project that looks very
much the same as a project createt using wicket-template from wicket-stuff.

If anyone is interested you can check out the patch file I attached to a
feature proposal for wicket-stuff.
[ 1540913 ] wicket-archetypes Maven2 archetypes for wicket
https://sourceforge.net/tracker/?func=detail&atid=730671&aid=1540913&group_id=134391

Usage should be pretty straight foreward.
Once the patch is applied change into the subfolder of
wicket-archetypes. So far only one archetype is present :-)

 - mvn install
should install the archetype locally. After this it might be used like:

 - mvn archetype:create -DarchetypeGroupId=<archetypeGroupId>
-DarchetypeArtifactId=<archetypeArtifactId> \
                        -DarchetypeVersion=<archetypeVersion>
-DgroupId=<groupId> -DartifactId=<artifactId>
e.g.:
 - mvn archetype:create -DarchetypeGroupId=wicket
-DarchetypeArtifactId=wicket-archetype-template \
                        -DarchetypeVersion=1.0-SNAPSHOT
-DgroupId=de.mywicket.app -DartifactId=wicket-template


Have fun,

Martin

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to