Dependencies

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.

Required JARS

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 JARsDescription
wicket-1.1.1.jara Java web application framework.
ognl-2.6.7.jarUsed for introspection.
commons-logging-1.0.4.jarThis library enables us to give you the choice of logging toolkit (JDK, Log4j, etc.)

Optional JARs

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 JARsDescription
log4j-1.2.11.jarIf you use JDK style logging, this library is optional.

Build JARs

The following depenencies are only used when you are building Wicket yourself. These libraries are not necessary to create Wicket applications.

JARs for buiding WicketDescription
junit-3.8.1.jarUsed for testing Wicket
servletapi-2.3.jarCompile time only, is supplied by your application server.

Dependencies

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>