Dashboard > GridGain User Guide > Table Of Contents > Developers Guide > Maven Repository
Maven Repository
Added by link, last edited by link on Dec 29, 2008  (view change)
Labels: 
(None)


Maven Repository

You can access public Maven 2.0 repository anonymously with the following read-only configuration:

URL http://www.gridgainsystems.com/maven2

Note:
Packages in Maven repository is always up to date. We do not publish nightly builds and other snapshots.
GridGain Maven 2 repository contains only release packages since version 2.1.0

Update Local Maven Repository

To be consistent with last GridGain libraries you need to update your local Maven repository with command
'mvn dependency:purge-local-repository'

How to integrate Maven 2.0 project with GridGain

  1. First of all you need to add dependency for GridGain in project pom.xml file
    <project>
        ....
      <dependencies>
        ....
        <dependency>
          <groupId>org.gridgain</groupId>
          <artifactId>gridgain</artifactId>
          <version>2.1.0</version>
          <scope>compile</scope>
        </dependency>
        ....
      </dependencies>
        ....
    </project>
  2. Next step is to add GridGain public repository in project repositories list.
    <project>
        ....
      <repositories>
        <repository>
          <id>gridgain-site</id>
          <url>http://www.gridgainsystems.com/maven2</url>
        </repository>
      </repositories> 
        ....
    </project>

Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.10 Build:#528 Nov 29, 2006) - Bug/feature request - Contact Administrators