I'm new to GIT and want to use JGit to create repository and remove it beside other operations from a Java maven project. And I want to know what dependencies are needed for that.
The following link what I read a bout JGit http://wiki.eclipse.org/JGit/User_Guide#Getting_Started
You can consume JGit (see http://www.eclipse.org/jgit/download/ ) in Maven:
<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>1.0.0.201106090707-r</version>
    </dependency>
  </dependencies>
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With