Skip to content

Commit

Permalink
[FIXED JENKINS-21756]
Browse files Browse the repository at this point in the history
Decouple this from git plugin

... so that this plugin won't pick up jgit from git-client plugin.

git-client plugin updates its jgit plugin at its own pace, and if that
gets inconsistent with the jgit version git-server plugin uses, lots of
LinkageErrors and NoClassDefFoundError ensues.

Either we need to keep those two copies independent like this, or we
should just bundle jgit HTTP server jar into the base git-client plugin.

It only adds like 90KB on top of jgit core that's already 1.9MB, so it's
quite feasible
  • Loading branch information
kohsuke committed Oct 14, 2014
1 parent 3db156d commit 4c729a1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions pom.xml
Expand Up @@ -12,7 +12,7 @@
<packaging>hpi</packaging>

<properties>
<jgit.version>3.2.0.201312181205-r</jgit.version>
<jgit.version>3.4.1.201406201815-r</jgit.version>
</properties>

<name>Git server plugin</name>
Expand Down Expand Up @@ -42,12 +42,6 @@
<scope>provided</scope><!-- this is in the core -->
</dependency>

<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>git</artifactId>
<version>2.0.1</version>
</dependency>

<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit.http.server</artifactId>
Expand Down

0 comments on commit 4c729a1

Please sign in to comment.