Skip to content

Commit

Permalink
[JENKINS-30371] Distribute JGit java7 jar to allow JGit symlink support
Browse files Browse the repository at this point in the history
JGit symlink support is optional with JGit 3.7.1.  It requires a copy of
the JGit java7 jar, a Java 7 VM, and a file system which supports symbolic
links.  Including the jar file in a Java 6 environment is safe because
the JGit code won't load the additional jar when running on Java 6.
  • Loading branch information
MarkEWaite committed Nov 21, 2015
1 parent 11d9be2 commit cce0f8b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pom.xml
Expand Up @@ -94,6 +94,14 @@
<artifactId>org.eclipse.jgit.http.server</artifactId>
<version>${jgit.version}</version>
</dependency>
<dependency>
<!-- Include jgit java7 component so that jgit can support
symbolic links when running on Java 7 with a file system
which supports symbolic links. See JENKINS-30371 -->
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit.java7</artifactId>
<version>${jgit.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down

0 comments on commit cce0f8b

Please sign in to comment.