Direct Download 3.4.1.201406201815-r

Find the list of older JGit versions here.

Maven Repository

JGit can be consumed in a Maven build. Multiple artifacts are available, depending on the application's requirements:

  <repositories>
    <repository>
      <id>jgit-repository</id>
      <url>https://repo.eclipse.org/content/groups/releases/</url>
    </repository>
  </repositories>

  <!-- Core Library -->
  <dependencies>
    <dependency>
      <groupId>org.eclipse.jgit</groupId>
      <artifactId>org.eclipse.jgit</artifactId>
      <version>3.4.1.201406201815-r</version>
    </dependency>
  </dependencies>

  <!-- Smart HTTP Servlet -->
  <dependencies>
    <dependency>
      <groupId>org.eclipse.jgit</groupId>
      <artifactId>org.eclipse.jgit.http.server</artifactId>
      <version>3.4.1.201406201815-r</version>
    </dependency>
  </dependencies>

  <!-- AWT UI Helpers -->
  <dependencies>
    <dependency>
      <groupId>org.eclipse.jgit</groupId>
      <artifactId>org.eclipse.jgit.ui</artifactId>
      <version>3.4.1.201406201815-r</version>
    </dependency>
  </dependencies>

  <!-- JUnit Test Support -->
  <dependencies>
    <dependency>
      <groupId>org.eclipse.jgit</groupId>
      <artifactId>org.eclipse.jgit.junit</artifactId>
      <version>3.4.1.201406201815-r</version>
    </dependency>
  </dependencies>

JGit is also available from Maven central: JGit on Maven central

For SNAPSHOT versions of the upcoming release, the following repository can be used:

  <repository>
    <id>jgit-snapshot-repository</id>
    <url>https://repo.eclipse.org/content/groups/jgit/</url>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
  </repository>

P2 Installation

JGit can be installed from the EGit repository:

Development Builds

If you like to use the latest development version, you can install JGit from the EGit nightly repository:

You can also build JGit from scratch following our contributor guide.