Download

Manual Download

Click the link below to download the latest release of Togglz. The ZIP file contains the Togglz core modules and all the optional integration modules.

togglz-2.4.1.Final.zip

If you want to give the latest snapshots a try, grab it here:

togglz-2.5.0-SNAPSHOT.zip

Apache Maven

The Togglz artifacts are available in the Maven Central repository. So you don't have to add any additional repositories to your pom.xml file.

Togglz has been developed in a very modular manner. This allows you to select exactly the components of the framework that you want to use. The Togglz Servlet module is the only required one:

<!-- Togglz for Servlet environments (mandatory) -->
<dependency>
  <groupId>org.togglz</groupId>
  <artifactId>togglz-servlet</artifactId>
  <version>2.4.1.Final</version>
</dependency>

<!-- Additional modules (optional) -->
<dependency>
  <groupId>org.togglz</groupId>
  <artifactId>togglz-{some-module}</artifactId>
  <version>2.4.1.Final</version>
</dependency>

Which of the optional modules to add depends on your specific environment. You can find the full list of modules available in Maven central here:

Togglz modules on Maven Central

If you want to give the latest snapshots a try, you will have to add the Sonatype OSS snapshot repository to your pom.xml and set the Togglz version to 2.5.0-SNAPSHOT:

<dependencies>
  
  <dependency>
    <groupId>org.togglz</groupId>
    <artifactId>togglz-servlet</artifactId>
    <version>2.5.0-SNAPSHOT</version>
  </dependency>

  <!-- more dependencies -->      
  
</dependencies>

<repositories>
  <repository>
    <id>sonatype-oss-snapshots</id>
    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    <releases>
      <enabled>false</enabled>
    </releases>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
  </repository>
</repositories>