Downloads
Apache Releases
Please select a release from the table below. All releases are platform independent.
We strongly encourage our users to verify the integrity and authenticity of each downloaded release.
Maven
Click Maven bundles are also available from the Maven 2 repository
http://repo1.maven.org/maven2/org/apache/click/.
To include Click in your project add the following dependency in your pom.xml:
<!-- Specifying the artifactId click will include Click Core in your project -->
<dependency>
<groupId>org.apache.click</groupId>
<artifactId>click-nodeps</artifactId>
<version>X.X.X</version>
<scope>compile</scope>
</dependency>
<!-- Specifying the artifactId click-extras will include Click Extras in your project -->
<dependency>
<groupId>org.apache.click</groupId>
<artifactId>click-extras</artifactId>
<version>X.X.X</version>
<scope>compile</scope>
</dependency>
Specify your Click version in the version tag e.g: <version>2.2.0</version>
The following artifactId's are available:
-
click
-
click-extras
-
click-mock
-
click-nodeps
ANT
Click JARs can also be downloaded automatically into your project using ANT. The following ANT macro can be
included in your build.xml file:
<macrodef name="downloadMacro">
<attribute name="name"/>
<attribute name="path"/>
<sequential>
<get src="${repository}/maven2/@{path}/@{name}"
dest="lib/@{name}"
verbose="true"
usetimestamp="true"/>
</sequential>
</macrodef>
and than, using the following properties and task to get the JARs on demand:
<property name="jar.click" value="click-${click.version}.jar"/>
<property name="jar.click-extras" value="click-extras-${click.version}.jar"/>
<property name="jar.click-mock" value="click-mock-${click.version}.jar"/>
<property name="repository" value="http://repo1.maven.org"/>
<target name="get-deps" description="download JAR dependencies">
<downloadMacro name="${jar.click}" path="org/apache/click/click/${click.version}"/>
<downloadMacro name="${jar.click-extras}" path="org/apache/click/click-extras/${click.version}"/>
<downloadMacro name="${jar.click-mock}" path="org/apache/click/click-mock/${click.version}"/>
<!-- Include here other required dependencies too. -->
</target>
Verifying the Downloads
All Click releases are digitally signed: in order to ensure their integrity and authenticity. Details about the signing
process employed at Apache.org can be found here.
MD5 can be used to verify the integrity of a downloaded Click release, by:
- regenerating the checksum with:
md5sum click-2.2.0.zip
- and comparing this result with to the downloaded checksum, e.g. by using:
- COMP on Windows.
- diff on Linux and UNIX.
PGP signatures can be verified by using GnuPG
(there is also a Windows port available).
In order to verify the PGP signature of a Click release, the following steps might help:
- download the KEYS file
- import the KEYS into GnuPG:
gpg --import KEYS
- download the ASC files from the main distribution site only!
- run the verification process:
gpg --verify click-2.2.0.zip.asc