Over a million developers have joined DZone.

How to Start Learning Wicket with Maven & NetBeans IDE

· Java Zone

Discover how powerful static code analysis and ergonomic design make development not only productive but also an enjoyable experience, brought to you in partnership with JetBrains

The Wicket project's Quick Start is, conveniently, based on Maven. Why convenient? Because NetBeans IDE has great support for it. Here I show you how easy it is to get started with Wicket's Maven-driven Quick Start in NetBeans IDE 6.x.

First, install the Maven plugin from the Plugin Manager. Then read the Apache Wicket Quick Start. Notice that this is the command line that the Quick Start instructs you to work with:

mvn archetype:create        -DarchetypeGroupId=org.apache.wicket 
-DarchetypeArtifactId=wicket-archetype-quickstart
-DarchetypeVersion=1.3.3
-DgroupId=com.mycompany
-DartifactId=myproject

OK, let's go. In the New Project wizard, select the Maven project type...

...then click Add and use the info from the command line to create a new archetype:

...and in the final panel fill in whatever you like...

...finally, click Finish, watch the interesting output in the Output window, and then note that you have an entire new Maven project, populated with the info from the Wicket repository:

At this point, right-click the project, choose Properties, and select a server in the Run panel. Then run the application and you're done. Then take a quick tour of Wicket and use all the other cool resources on the Wicket site!

 

Learn more about Kotlin, a new programming language designed to solve problems that software developers face every day brought to you in partnership with JetBrains.

Topics:

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}