Getting Wicket
There are a couple of things to consider when downloading Wicket for your project. Do you use Maven? Do you need to run on Java 1.4?
Here's a matrix for picking the right Wicket version:
Version | Java version | Code status | Apache status | Maven | Download | Subversion |
---|---|---|---|---|---|---|
>= 1.4 | Stable | n/a | ||||
>= 1.4 | Stable | n/a | n/a | |||
>= 1.4 | Beta | n/a | ||||
>1.3 | >= 1.5 | n/a | n/a | n/a | n/a |
Wicket versions
Here's a small description of the different Wicket releases. Our current stable release is Wicket 1.2.6, which is released outside the Apache Software Foundation. Development within the Apache Software Foundation is ongoing on Wicket 1.3. We are currently stabilizing Wicket 1.3. This will be the last JDK 1.4 compatible release. The next version will require JDK 1.5.
...
Wicket used to live at SourceForge. We recently joined the Apache Software Foundation and have graduated to a top-level project. We don't have any stable releases under Apache yet, but 1.3.0 will be released soon. In the meantime, Wicket 1.2.x is still hosted on SourceForge, and Wicket 1.3.0 beta releases are available on Apache.
Download
Latest stable release | (from SourceForge) | |
Latest beta release | (from the Apache Software Foundation) |
Download latest stable release:
Download latest beta release:
For new projects, we recommend you start with our latest beta release. Lots of people are using it on live production sites with no issues, so it's fairly stable. We will release 1.3.0 final shortly, so if you're just starting out it's definitely the one to go for.
Both the 1.2.x and the 1.3.x lines require JDK 1.4, although there are some non-core modules which take advantage of JDK 5 features.
The core framework will switch to JDK5 for the next major version (1.4.x or 2.x, we haven't decided the numbering scheme quite yet).
A note about logging dependencies for 1.3.0 and later.
As of Wicket 1.3.0, Wicket uses the SLF4J project for logging. To make this work in your application, you need to pick a static binding to use. Most people will want to use log4j. If you do, just include slf4j-log4j12.jar on your classpath.
SLF4J is similar to commons-logging, in that it allows libraries/frameworks like Wicket to avoid forcing a choice of logging framework on their users. For more information, see the SLF4J FAQ.
Maven 2
For 1.2.6, add
...
Wicket 1.2.6
Wicket 1.2.6 is our stable release and is available from SourceForge.net and through the Maven central repository. It is the release version of the maintenance branch wicket-1.2.x. This is often referred to as wicket-1.2.x
This version of Wicket requires JDK 1.4 or newer.
The Wicket 1.2.x releases are not endorsed by, approved by, nor affiliated with the Apache Software Foundation in any way.
Information on Wicket 1.2.6 / 1.2.x
Subversion | http://svn.apache.org/repos/asf/incubator/wicket/branches/wicket-1.2.x |
Snapshot repository | |
Central repository | |
Java version | Java 1.4 or newer |
Maven pom dependency
Add the following snippet to your Maven project descriptor (pom.xml
) to use Wicket 1.2.6.:
Code Block | ||||
---|---|---|---|---|
| ||||
<dependency> <groupId>wicket</groupId> <artifactId>wicket</artifactId> <version>1.2.6</version> </dependency> |
Add the following snippet to your Maven project descriptor (pom.xml
) to use the latest development version from the Wicket 1.2.x branch (stable).Or for 1.3.0-beta2:
Code Block | ||||
---|---|---|---|---|
| ||||
<dependency> <groupId>wicket<<groupId>org.apache.wicket</groupId> <artifactId>wicket</artifactId> <version>1.3.20-SNAPSHOT<beta2</version> </dependency> |
Wicket 1.3 / 1.x
Wicket 1.3 is currently under development at the Apache Software Foundation, while inside the Incubator. When projects first move to Apache, they are housed at the Apache Incubator. The Incubator helps incoming projects migrate to the vibrant Apache community.
The Wicket team considers Wicket 1.3 to be of beta quality. We don't expect any big API changes and are currently working to release our first beta.
Currently there is no official release available for Wicket 1.3. The only way to get to the code is to use our development snapshot releases, or build it yourself from subversion.
You can see the status of Wicket's incubation process on this page.
Information on Wicket 1.3 / 1.x
Subversion | |
Snapshot repository | |
Central repository | n/a |
Java version | Java 1.4 or newer |
Maven pom dependency
For the SLF4J log4j binding (see above):
Code Block | ||||
---|---|---|---|---|
| ||||
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.4.0</version>
</dependency>
|
SNAPSHOTs and latest bleeding-edge code
If you wish to build the latest code from scratch, the two branches live in the following places in Subversion:
There's also a Maven 2 repository providing SNAPSHOTs available here:Add the following snippet to your Maven project descriptor (pom.xml
) to use the latest development version from the Wicket 1.x branch (beta, development).
Code Block | ||||
---|---|---|---|---|
| ||||
<dependency><repositories> <repository> <groupId>org.apache.wicket</groupId> <id>org.wicketstuff</id> <artifactId>wicket</artifactId> <name>Wicket Stuff Repository</name> <version>1.3.0-incubating-SNAPSHOT</version> <url>http://wicketstuff.org/maven/repository</url> </repository> </dependency>repositories> |