Our Blog

Let us find tech solutions together

Dec 01

Setting up your Apache Wicket project with Maven

By kinabalu | Comments

 

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.

  1. Download Apache Maven.
  2. Install it and ensure that the mvn executable is in your path.
  3. 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.