aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2010-01-06 12:26:54 -0800
committerShawn O. Pearce <spearce@spearce.org>2010-01-12 12:01:24 -0800
commit5e33a1de831fcbac4ff53cadacfdfc8e7b204ffe (patch)
tree264a978001fbae0913eb0cd11da7cc71c2daec11 /pom.xml
parent71b34847299f0c8f6923fe37fdd509f57fd35830 (diff)
downloadjgit-5e33a1de831fcbac4ff53cadacfdfc8e7b204ffe.tar.gz
jgit-5e33a1de831fcbac4ff53cadacfdfc8e7b204ffe.zip
Simple dumb HTTP server for Git
This is a simple HTTP server that provides the minimum server side support required for dumb (non-git aware) transport clients. We produce the info/refs and objects/info/packs file on the fly from the local repository state, but otherwise serve data as raw files from the on-disk structure. In the future we could better optimize the FileSender class and the servlets that use it to take advantage of direct file to network APIs in more advanced servlet containers like Jetty. Our glue package borrows the idea of a micro embedded DSL from Google Guice and uses it to configure a collection of Filters and HttpServlets, all of which are matched against requests using regular expressions. If a subgroup exists in the pattern, it is extracted and used for the path info component of the request. Change-Id: Ia0f1a425d07d035e344ae54faf8aeb04763e7487 Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index a5887288c9..d3467204f4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2009, Google Inc.
+ Copyright (C) 2009-2010, Google Inc.
and other copyright owners as documented in the project's IP log.
This program and the accompanying materials are made available
@@ -135,6 +135,9 @@
<args4j-CQ>CQ 3454</args4j-CQ>
<args4j-version>2.0.12</args4j-version>
+
+ <servlet-api-CQ>CQ 3565</servlet-api-CQ>
+ <servlet-api-version>2.5</servlet-api-version>
</properties>
<build>
@@ -256,6 +259,12 @@
<artifactId>junit</artifactId>
<version>${junit-version}</version>
</dependency>
+
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>${servlet-api-version}</version>
+ </dependency>
</dependencies>
</dependencyManagement>
@@ -286,6 +295,7 @@
<modules>
<module>org.eclipse.jgit</module>
<module>org.eclipse.jgit.ui</module>
+ <module>org.eclipse.jgit.http.server</module>
<module>org.eclipse.jgit.pgm</module>
<module>org.eclipse.jgit.junit</module>
<module>org.eclipse.jgit.test</module>