[ACCEPTED]-Looking for decent Git libraries for Java-git
I believe you can use JGit in your Java application.
The 11 main page includes:
JGit has very few dependencies, making 10 it suitable for embedding in any Java application, whether 9 or not the application is taking advantage 8 of other Eclipse or OSGi technologies.
The 7 download page mentions that:
JGit can be consumed in a 6 Maven build.
Multiple artifacts are available, depending 5 on the application's requirements:
See a 4 full pom.xl in jgit-cookbook/blob/master/pom.xml
:
Extract:
<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>3.4.1.201406201815-r</version>
</dependency>
</dependencies>
The exact list of 3 git commands currently supported is not 2 always up-to-date (as the bug 317482 illustrates):
Update September 1 2013 - July 2014: all the commands below are now available.
More Related questions
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.