Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Halstrick2013-08-04 21:37:50 +0000
committerChristian Halstrick2014-02-18 20:04:17 +0000
commit2290516ddb5a92ccc296df500aa5e9e30cbc240e (patch)
tree04397a7a84eddccdc7fed53e5aa47efbb7fa77c5 /pom.xml
parent38c4f35d8b911426e007716697b37d746740b788 (diff)
downloadjgit-2290516ddb5a92ccc296df500aa5e9e30cbc240e.tar.gz
jgit-2290516ddb5a92ccc296df500aa5e9e30cbc240e.tar.xz
jgit-2290516ddb5a92ccc296df500aa5e9e30cbc240e.zip
Add an implementation for HttpConnection using Apache HttpClient
This change implements the http connection abstraction with the help of org.apache.http.client.HttpClient. The default implementation used by JGit is still the JDK HttpURLConnection. But now JGit users have the possibility to switch completely to org.apache.httpclient. The reason for this is that in certain (e.g. cloud) environments you are forced to use the org.apache classes. Change-Id: I0b357f23243ed13a014c79ba179fa327dfe318b2 Signed-off-by: Christian Halstrick <christian.halstrick@sap.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 84ac448145..5d564d27ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -186,6 +186,7 @@
<servlet-api-version>2.5</servlet-api-version>
<jetty-version>7.6.14.v20131031</jetty-version>
<clirr-version>2.4</clirr-version>
+ <httpclient-version>4.1.3</httpclient-version>
</properties>
<repositories>
@@ -193,6 +194,7 @@
<id>jgit-repository</id>
<url>http://download.eclipse.org/jgit/maven</url>
</repository>
+
</repositories>
<pluginRepositories>
@@ -474,6 +476,12 @@
<artifactId>org.osgi.core</artifactId>
<version>${osgi-core-version}</version>
</dependency>
+
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient</artifactId>
+ <version>${httpclient-version}</version>
+ </dependency>
</dependencies>
</dependencyManagement>

Back to the top