blob: ebf4149d48a5572a5aeb8ab3a69bf7b5189c31ee [file] [log] [blame]
Dave Borowitz9de65952012-08-13 16:09:45 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3Copyright 2012 Google Inc. All Rights Reserved.
4
5Licensed under the Apache License, Version 2.0 (the "License");
6you may not use this file except in compliance with the License.
7You may obtain a copy of the License at
8
9http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16-->
17<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
19 <modelVersion>4.0.0</modelVersion>
20
21 <groupId>com.google.gitiles</groupId>
22 <artifactId>gitiles-parent</artifactId>
23 <packaging>pom</packaging>
24 <version>1.0-SNAPSHOT</version>
25
26 <name>Gitiles - Parent</name>
27 <url>https://gerrit.googlesource.com/gitiles</url>
28
29 <description>
30 Gitiles - Simple Git Repository Browser
31 </description>
32
33 <properties>
34 <!-- Should track Gerrit's jgitVersion fairly closely. -->
Shawn Pearceb43b2d52013-03-18 10:55:15 -070035 <jgitVersion>2.3.1.201302201838-r.70-gf32b861</jgitVersion>
Dave Borowitz231b4542013-01-10 20:30:48 -080036 <jettyVersion>7.6.8.v20121106</jettyVersion>
Dave Borowitz661ac2e2013-01-11 12:23:22 -080037 <slf4jVersion>1.6.1</slf4jVersion>
Dave Borowitz9de65952012-08-13 16:09:45 -070038 </properties>
39
40 <modules>
Dave Borowitz09ff62b2012-12-17 14:09:16 -080041 <module>gitiles-dev</module>
Dave Borowitz9de65952012-08-13 16:09:45 -070042 <module>gitiles-servlet</module>
43 <module>gitiles-war</module>
44 </modules>
45
46 <dependencyManagement>
47 <dependencies>
48 <dependency>
49 <groupId>com.google.guava</groupId>
50 <artifactId>guava</artifactId>
51 <version>13.0</version>
52 </dependency>
53
54 <dependency>
55 <groupId>com.google.template</groupId>
56 <artifactId>soy</artifactId>
57 <version>2011-22-12</version>
58 </dependency>
59
60 <dependency>
61 <groupId>org.eclipse.jgit</groupId>
62 <artifactId>org.eclipse.jgit</artifactId>
63 <version>${jgitVersion}</version>
64 </dependency>
65
66 <dependency>
67 <groupId>org.eclipse.jgit</groupId>
68 <artifactId>org.eclipse.jgit.http.server</artifactId>
69 <version>${jgitVersion}</version>
70 </dependency>
71
72 <dependency>
73 <groupId>org.eclipse.jgit</groupId>
74 <artifactId>org.eclipse.jgit.junit</artifactId>
75 <version>${jgitVersion}</version>
76 <exclusions>
77 <exclusion>
78 <groupId>org.eclipse.jgit</groupId>
79 <artifactId>org.eclipse.jgit</artifactId>
80 </exclusion>
81 </exclusions>
82 </dependency>
83
84 <dependency>
85 <groupId>org.apache.tomcat</groupId>
86 <artifactId>servlet-api</artifactId>
87 <version>6.0.29</version>
88 </dependency>
89
90 <dependency>
91 <groupId>junit</groupId>
92 <artifactId>junit</artifactId>
93 <version>3.8.1</version>
94 </dependency>
95
96 <dependency>
97 <groupId>org.slf4j</groupId>
98 <artifactId>slf4j-api</artifactId>
Dave Borowitz661ac2e2013-01-11 12:23:22 -080099 <version>${slf4jVersion}</version>
Dave Borowitz9de65952012-08-13 16:09:45 -0700100 </dependency>
101
102 <dependency>
103 <groupId>joda-time</groupId>
104 <artifactId>joda-time</artifactId>
105 <version>2.1</version>
106 </dependency>
107
108 <dependency>
109 <groupId>com.google.code.gson</groupId>
110 <artifactId>gson</artifactId>
111 <version>2.1</version>
112 </dependency>
113
114 <dependency>
115 <groupId>org.apache.commons</groupId>
116 <artifactId>commons-lang3</artifactId>
117 <version>3.1</version>
118 </dependency>
119
120 <dependency>
121 <groupId>org.eclipse.jetty</groupId>
122 <artifactId>jetty-server</artifactId>
123 <version>${jettyVersion}</version>
124 </dependency>
125 </dependencies>
126 </dependencyManagement>
127
128 <build>
129 <pluginManagement>
130 <plugins>
131 <plugin>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-compiler-plugin</artifactId>
134 <version>2.3.2</version>
135 <configuration>
136 <source>1.6</source>
137 <target>1.6</target>
138 <encoding>UTF-8</encoding>
139 </configuration>
140 </plugin>
141
142 <plugin>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-jar-plugin</artifactId>
145 <configuration>
146 <archive>
147 <manifestEntries>
148 <Implementation-Title>Gitiles - ${project.artifactId}</Implementation-Title>
149 <Implementation-Version>${project.version}</Implementation-Version>
150 <Implementation-Vendor>Gitiles</Implementation-Vendor>
151 <Implementation-Vendor-Id>com.google.gitiles</Implementation-Vendor-Id>
152 <Implementation-Vendor-URL>https://gerrit.googlesource.com/gitiles/</Implementation-Vendor-URL>
153 </manifestEntries>
154 </archive>
155 </configuration>
156 </plugin>
157
158 <plugin>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-war-plugin</artifactId>
161 <version>2.1.1</version>
162 </plugin>
163
164 <plugin>
165 <groupId>org.apache.maven.plugins</groupId>
166 <artifactId>maven-source-plugin</artifactId>
167 <version>2.1.2</version>
168 </plugin>
169 </plugins>
170 </pluginManagement>
Dave Borowitz9de65952012-08-13 16:09:45 -0700171 </build>
172
173 <repositories>
174 <!-- For JGit and Soy snapshots. -->
175 <repository>
176 <id>gerrit-maven</id>
177 <url>https://gerrit-maven.commondatastorage.googleapis.com</url>
178 </repository>
179
180 <repository>
181 <id>jgit-repository</id>
182 <url>http://download.eclipse.org/jgit/maven</url>
183 </repository>
184
185 <repository>
186 <id>java.net-repository</id>
187 <url>http://download.java.net/maven/2/</url>
188 </repository>
189 </repositories>
190</project>