blob: 4d356250aa6a6c283d4cfe38d702c96db3d72a7f [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>
Dave Borowitz92fbc482013-03-28 12:14:55 -040034 <!-- Should track Gerrit's versions fairly closely. -->
Shawn Pearcec1dcf512013-05-06 10:37:34 -070035 <jgitVersion>2.3.1.201302201838-r.208-g75e1bdb</jgitVersion>
Dave Borowitz92fbc482013-03-28 12:14:55 -040036 <jettyVersion>8.1.7.v20120910</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>
Dave Borowitz92fbc482013-03-28 12:14:55 -040051 <version>14.0</version>
Dave Borowitz9de65952012-08-13 16:09:45 -070052 </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>
Dave Borowitz92fbc482013-03-28 12:14:55 -040093 <version>4.11</version>
Dave Borowitz9de65952012-08-13 16:09:45 -070094 </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 Borowitz1db24ad2013-03-27 22:13:41 -0400171
172 <extensions>
Dave Borowitz86cace82013-04-04 08:46:28 -0700173 <!-- Uncomment to deploy with mvn:deploy. -->
174 <!--
Dave Borowitz1db24ad2013-03-27 22:13:41 -0400175 <extension>
176 <groupId>com.googlesource.gerrit</groupId>
177 <artifactId>gs-maven-wagon</artifactId>
178 <version>3.3</version>
179 </extension>
Dave Borowitz86cace82013-04-04 08:46:28 -0700180 -->
Dave Borowitz1db24ad2013-03-27 22:13:41 -0400181 </extensions>
Dave Borowitz9de65952012-08-13 16:09:45 -0700182 </build>
183
184 <repositories>
185 <!-- For JGit and Soy snapshots. -->
186 <repository>
187 <id>gerrit-maven</id>
188 <url>https://gerrit-maven.commondatastorage.googleapis.com</url>
189 </repository>
190
191 <repository>
192 <id>jgit-repository</id>
193 <url>http://download.eclipse.org/jgit/maven</url>
194 </repository>
195
196 <repository>
197 <id>java.net-repository</id>
198 <url>http://download.java.net/maven/2/</url>
199 </repository>
200 </repositories>
Dave Borowitz1db24ad2013-03-27 22:13:41 -0400201
Dave Borowitz86cace82013-04-04 08:46:28 -0700202 <!-- Uncomment to deploy with mvn:deploy. -->
203 <!--
Dave Borowitz1db24ad2013-03-27 22:13:41 -0400204 <distributionManagement>
205 <repository>
206 <id>gerrit-maven-repository</id>
207 <url>gs://gerrit-maven</url>
208 <uniqueVersion>true</uniqueVersion>
209 </repository>
210 </distributionManagement>
Dave Borowitz86cace82013-04-04 08:46:28 -0700211 -->
Dave Borowitz9de65952012-08-13 16:09:45 -0700212</project>