Downloads

Apache Releases

Please select a release from the table below. All releases are platform independent.

Package PGP key MD5 Version Release date Status
click-2.3.0.zip pgp md5 2.3.0 2011-03-27 Stable
archives

We strongly encourage our users to verify the integrity and authenticity of each downloaded release.

Nightly builds are also available from our continuous integration server.

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:

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:

  1. regenerating the checksum with:
    md5sum click-2.2.0.zip
  2. and comparing this result with to the downloaded checksum, e.g. by using:

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:

  1. download the KEYS file
  2. import the KEYS into GnuPG:
    gpg --import KEYS
  3. download the ASC files from the main distribution site only!
  4. run the verification process:
    gpg --verify click-2.2.0.zip.asc