Skip to content

Commit

Permalink
Include jgit http server jar in git-client-plugin for API consumers
Browse files Browse the repository at this point in the history
[JENKINS-21756] shows that JGit version mismatches can complicate the
management of plugins. Including JGit http server in this plugin is
hoped to reduce the version mismatch cases.
  • Loading branch information
MarkEWaite committed Oct 18, 2014
1 parent 9009f03 commit 138f276
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pom.xml
Expand Up @@ -53,13 +53,23 @@
<maven-site-plugin.version>3.3</maven-site-plugin.version>
<!-- End of updated versions required for "mvn site" -->
<maven-surefire-plugin.version>2.17</maven-surefire-plugin.version>
<jgit.version>3.5.1.201410131835-r</jgit.version>
</properties>

<dependencies>
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit</artifactId>
<version>3.5.1.201410131835-r</version>
<version>${jgit.version}</version>
</dependency>
<dependency>
<!-- Include jgit http server so that git-userContent and other
plugins can depend on git-client-plugin rather than
including their own JGit http server version. Avoid class
loader mismatches and bugs like JENKINS-21756 -->
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit.http.server</artifactId>
<version>${jgit.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down

0 comments on commit 138f276

Please sign in to comment.