Here at Mystic, we love Apache Wicket for it’s clean separation of mark-up and logic, simple POJO data model and one of the first web frameworks to espouse lack of XML as a benefit.
- Download Apache Maven.
- Install it and ensure that the mvn executable is in your path.
- Run the following command to download and execute the mvn archetype for Wicket:
mvn archetype:create \ -DarchetypeGroupId=org.apache.wicket \ -DarchetypeArtifactId=wicket-archetype-quickstart \ -DarchetypeVersion=1.4.14 \ -DgroupId=com.mycompany \ -DartifactId=myproject
That’s it. This creates the Maven directory structure with the appropriate pom.xml setup and the dependencies in your ~/.m2 directory. After this you should be ready to rock your next Apache Wicket application.