| <h2>Direct Download @VERSION@</h2> |
| <ul> |
| <li><a href="http://download.eclipse.org/jgit/maven/org/eclipse/jgit/org.eclipse.jgit/@VERSION@/org.eclipse.jgit-@VERSION@.jar">org.eclipse.jgit.jar</a> (Raw API library)</li> |
| <li><a href="http://download.eclipse.org/jgit/maven/org/eclipse/jgit/org.eclipse.jgit/@VERSION@/org.eclipse.jgit-@VERSION@-javadoc.jar">org.eclipse.jgit-javadoc.jar</a> (JavaDoc archive)</li> |
| <li><a href="http://download.eclipse.org/jgit/maven/org/eclipse/jgit/org.eclipse.jgit.pgm/@VERSION@/org.eclipse.jgit.pgm-@VERSION@.sh">jgit.sh</a> (Self-contained command line executable)</li> |
| <li><a href="http://download.eclipse.org/jgit/docs/jgit-@VERSION@/apidocs/index.html">org.eclipse.jgit JavaDoc</a> (online JavaDoc)</li> |
| <li><a href="http://download.eclipse.org/jgit/docs/jgit-@VERSION@/api-changes/index.html">JGit API changes since 2.2</a> (online Clirr API changes report)</li> |
| </ul> |
| |
| Find the list of older JGit versions <a href="http://wiki.eclipse.org/JGit/FAQ#How_to_inspect_the_git_index">here</a>. |
| |
| <h2>Maven Repository</h2> |
| <p>JGit can be consumed in a Maven build. Multiple artifacts are available, |
| depending on the application's requirements:</p> |
| <pre> |
| <repositories> |
| <repository> |
| <id>jgit-repository</id> |
| <url>http://download.eclipse.org/jgit/maven</url> |
| </repository> |
| </repositories> |
| |
| <!-- Core Library --> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.jgit</groupId> |
| <artifactId>org.eclipse.jgit</artifactId> |
| <version>@VERSION@</version> |
| </dependency> |
| </dependencies> |
| |
| <!-- Smart HTTP Servlet --> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.jgit</groupId> |
| <artifactId>org.eclipse.jgit.http.server</artifactId> |
| <version>@VERSION@</version> |
| </dependency> |
| </dependencies> |
| |
| <!-- AWT UI Helpers --> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.jgit</groupId> |
| <artifactId>org.eclipse.jgit.ui</artifactId> |
| <version>@VERSION@</version> |
| </dependency> |
| </dependencies> |
| |
| <!-- JUnit Test Support --> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.jgit</groupId> |
| <artifactId>org.eclipse.jgit.junit</artifactId> |
| <version>@VERSION@</version> |
| </dependency> |
| </dependencies> |
| </pre> |
| |
| JGit is also available from Maven central: |
| <a href="http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.eclipse.jgit%22">JGit on Maven central</a> |
| |
| <h2>P2 Installation</h2> |
| <p>JGit can be installed from the <a href="http://www.eclipse.org/egit/">EGit</a> repository:</p> |
| <ul> |
| <li>Main Site: <a href="http://download.eclipse.org/egit/updates">http://download.eclipse.org/egit/updates</a> (Recommended)</li> |
| <li>Juno Site (currently contains JGit 2.2): <a href="http://download.eclipse.org/releases/juno">http://download.eclipse.org/releases/juno</a></li> |
| </ul> |
| |
| <h2>Bleeding Edge Builds</h2> |
| <p>If you like to live on the bleeding edge, you can install JGit from the EGit nightly repository:</p> |
| <ul> |
| <li><a href="http://download.eclipse.org/egit/updates-nightly">http://download.eclipse.org/egit/updates-nightly</a>.</li> |
| </ul> |
| |
| <p>You can also build JGit from scratch following our <a href="http://wiki.eclipse.org/EGit/Contributor_Guide#Builds">contributor guide</a>.</p> |