These are the various dependencies required by Wicket.
If you're using maven to build your project and just want to know what dependencies to add to your POM, just scroll down to thenext section.
The following list of JAR dependencies are required in order to be able to use Wicket. These dependencies are also needed in the build process.
| Required JARs | Description |
|---|---|
| wicket-1.1.1.jar | a Java web application framework. |
| ognl-2.6.7.jar | Used for introspection. |
| commons-logging-1.0.4.jar | This library enables us to give you the choice of logging toolkit (JDK, Log4j, etc.) |
The following JAR dependencies are optional. This means that depending on your situation you might need (one of) these jars to use Wicket to the fullest.
| Optional JARs | Description |
|---|---|
| log4j-1.2.11.jar | If you use JDK style logging, this library is optional. |
The following depenencies are only used when you are building Wicket yourself. These libraries are not necessary to create Wicket applications.
| JARs for buiding Wicket | Description |
|---|---|
| junit-3.8.1.jar | Used for testing Wicket |
| servletapi-2.3.jar | Compile time only, is supplied by your application server. |
If you are usingmavento build your project then you can simply cut and paste the following dependencies into your project.xml.
Note that if you are reading this on the Wicket website then the version numbers reflect what is currently in CVS, not necessarily what versions are in use in the distribution that you have downloaded. In particular, the version number for Wicket itself may not reflect a version currently available in the maven repository.
If you are reading this from the documentation that came bundled with a particular distribution of Wicket then you can use these values without modification.
<dependency>
<groupId>wicket</groupId>
<artifactId>wicket</artifactId>
<version>1.1.1</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.11</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>ognl</groupId>
<artifactId>ognl</artifactId>
<version>2.6.7</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>