Installation
Currently this archetype is distributed using sourceforge
only. Until its uploaded to the maven repository it has to
be installed locally first. Download the file
maven-archetype-wicket-basic-{version}.jar of the release
maven-archetype-wicket-basic
fist. Then install it using maven:
mvn install:install-file
-Dfile=maven-archetype-wicket-basic-{version}.jar \
-DartifactId=maven-archetype-wicket-basic \
-DgroupId=net.sourceforge.wicketarch \ -Dpackaging=jar \
-Dversion={version}
Usage
Crating a maven project using one of the archetypes:
mvn archetype:create
-DarchetypeGroupId={archetypeGroupId} \
-DarchetypeArtifactId={archetypeArtifactId} \
-DarchetypeVersion={archetypeVersion} \ -DgroupId=
{groupId} \ -DartifactId={artifactId}
e.g.:
mvn archetype:create
-DarchetypeGroupId=net.sourceforge.wicketarch \
-DarchetypeArtifactId=maven-archetype-wicket-basic \
-DarchetypeVersion=1.2.4.0-rc1 -DgroupId=de.mywicket.app
\ -DartifactId=wicket-basic
Change into the projects directory and start the webserver:
cd wicket-basic
mvn jetty:run
Now its time to surf to your newly created basic wicket website: