Skip to content
Rodion Moiseev edited this page Mar 9, 2020 · 19 revisions

Downloading C10N

Latest Release Version: 1.3

Please use the latest release version 1.3.

The latest version can be downloaded from Maven.

Currently there are three jars for you to download:

  1. c10n-core - Contains the main API and functionality (required)
  2. c10n-ext-guice - Contains Guice integration module (optional)
  3. c10n-tools - Contains c10n inspection module primarily for unit testing (optional)

Maven

Add the dependency and repository to your pom.xml.

<dependency>
  <groupId>com.github.rodionmoiseev.c10n</groupId>
  <artifactId>c10n-core</artifactId>
  <version>1.3</version>
</dependency>
<!-- optional Guice integration module -->
<dependency>
  <groupId>com.github.rodionmoiseev.c10n</groupId>
  <artifactId>c10n-ext-guice</artifactId>
  <version>1.3</version>
</dependency>
<!-- optional c10n tools module -->
<dependency>
  <groupId>com.github.rodionmoiseev.c10n</groupId>
  <artifactId>c10n-tools</artifactId>
  <version>1.3</version>
</dependency>

Gradle

Add to your build.gradle.

repositories{
  mavenCentral()
}

dependencies {
  compile group: 'com.github.rodionmoiseev.c10n', name: 'c10n-core', version: '1.3'
  //Optional Guice integration module
  compile group: 'com.github.rodionmoiseev.c10n', name: 'c10n-ext-guice', version: '1.3'
  //Optional c10n tools module
  compile group: 'com.github.rodionmoiseev.c10n', name: 'c10n-tools', version: '1.3'
}

SBT

Add the dependency and the resolver to your Build.scala.

"c10n" % "c10n-core" % "1.3" withSources()

Older Versions

Latest Development Snapshot

Just grab the latest snapshot jar from the snapshot repository, or use one of methods below.

Maven

Add the dependency and repository to your pom.xml.

<dependency>
  <groupId>com.github.rodionmoiseev.c10n</groupId>
  <artifactId>c10n-core</artifactId>
  <version>1.4-SNAPSHOT</version>
</dependency>
<!-- optional Guice integration module -->
<dependency>
  <groupId>com.github.rodionmoiseev.c10n</groupId>
  <artifactId>c10n-ext-guice</artifactId>
  <version>1.4-SNAPSHOT</version>
</dependency>
<!-- optional c10n tools module -->
<dependency>
  <groupId>com.github.rodionmoiseev.c10n</groupId>
  <artifactId>c10n-tools</artifactId>
  <version>1.4-SNAPSHOT</version>
</dependency>

And somewhere in <repositories> ... </repositories> add:

<repository>
  <id>c10n-snapshots</id>
  <name>C10N Snapshots</name>
  <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  <layout>default</layout>
  <releases>
    <enabled>false</enabled>
    <updatePolicy>always</updatePolicy>
    <checksumPolicy>warn</checksumPolicy>
  </releases>
  <snapshots>
    <enabled>true</enabled>
    <updatePolicy>never</updatePolicy>
    <checksumPolicy>fail</checksumPolicy>
  </snapshots>
</repository>

Gradle

Add to your build.gradle.

repositories{
  maven{
    url "https://oss.sonatype.org/content/repositories/snapshots"
  }
}

dependencies {
  compile group: 'com.github.rodionmoiseev.c10n', name: 'c10n-core', version: '1.4-SNAPSHOT'
  //Optional Guice integration module
  compile group: 'com.github.rodionmoiseev.c10n', name: 'c10n-ext-guice', version: '1.4-SNAPSHOT'
  //Optional c10n tools module
  compile group: 'com.github.rodionmoiseev.c10n', name: 'c10n-tools', version: '1.4-SNAPSHOT'
}

SBT

Add the dependency and the resolver to your Build.scala.

"com.github.rodionmoiseev.c10n" % "c10n-core" % "1.4-SNAPSHOT" withSources()
resolvers += "C10N" at "https://oss.sonatype.org/content/repositories/snapshots/"