Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.
andresteingress edited this page Mar 10, 2011 · 5 revisions

GContracts can be found on Sonatype’s public Nexus Maven repository.

To use GContracts in your Maven project, simply add the Maven Central Repository to the <repositories> section:

<repositories>
    <repository>
    <id>maven-central-repo</id>
    <name>Maven Central Repository</name>
    <url>http://repo1.maven.org/maven2/</url>
  </repository>
</repositories>

Finally, add gcontracts as dependency:

<dependency>
  <groupId>org.gcontracts</groupId>
  <artifactId>gcontracts-core</artifactId> <!-- before 1.2.0: gcontracts -->
  <version>${gcontracts.current.version}</version>
</dependency>

GContracts, its sources and documentation will be automatically available to your project.