blob: de2411bf10d9b4e317d3e6ee4f9c35375dfc1e3b [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 Borowitz661ac2e2013-01-11 12:23:22 -080036 <slf4jVersion>1.6.1</slf4jVersion>
Dave Borowitz9de65952012-08-13 16:09:45 -070037 </properties>
38
39 <modules>
Dave Borowitz09ff62b2012-12-17 14:09:16 -080040 <module>gitiles-dev</module>
Dave Borowitz9de65952012-08-13 16:09:45 -070041 <module>gitiles-servlet</module>
42 <module>gitiles-war</module>
43 </modules>
44
45 <dependencyManagement>
46 <dependencies>
47 <dependency>
48 <groupId>com.google.guava</groupId>
49 <artifactId>guava</artifactId>
Dave Borowitz92fbc482013-03-28 12:14:55 -040050 <version>14.0</version>
Dave Borowitz9de65952012-08-13 16:09:45 -070051 </dependency>
52
53 <dependency>
54 <groupId>com.google.template</groupId>
55 <artifactId>soy</artifactId>
56 <version>2011-22-12</version>
57 </dependency>
58
59 <dependency>
60 <groupId>org.eclipse.jgit</groupId>
61 <artifactId>org.eclipse.jgit</artifactId>
62 <version>${jgitVersion}</version>
63 </dependency>
64
65 <dependency>
66 <groupId>org.eclipse.jgit</groupId>
67 <artifactId>org.eclipse.jgit.http.server</artifactId>
68 <version>${jgitVersion}</version>
69 </dependency>
70
71 <dependency>
72 <groupId>org.eclipse.jgit</groupId>
73 <artifactId>org.eclipse.jgit.junit</artifactId>
74 <version>${jgitVersion}</version>
75 <exclusions>
76 <exclusion>
77 <groupId>org.eclipse.jgit</groupId>
78 <artifactId>org.eclipse.jgit</artifactId>
79 </exclusion>
80 </exclusions>
81 </dependency>
82
83 <dependency>
Dave Borowitz9de65952012-08-13 16:09:45 -070084 <groupId>junit</groupId>
85 <artifactId>junit</artifactId>
Dave Borowitz92fbc482013-03-28 12:14:55 -040086 <version>4.11</version>
Dave Borowitz9de65952012-08-13 16:09:45 -070087 </dependency>
88
89 <dependency>
90 <groupId>org.slf4j</groupId>
91 <artifactId>slf4j-api</artifactId>
Dave Borowitz661ac2e2013-01-11 12:23:22 -080092 <version>${slf4jVersion}</version>
Dave Borowitz9de65952012-08-13 16:09:45 -070093 </dependency>
94
95 <dependency>
96 <groupId>joda-time</groupId>
97 <artifactId>joda-time</artifactId>
98 <version>2.1</version>
99 </dependency>
100
101 <dependency>
102 <groupId>com.google.code.gson</groupId>
103 <artifactId>gson</artifactId>
104 <version>2.1</version>
105 </dependency>
106
107 <dependency>
108 <groupId>org.apache.commons</groupId>
109 <artifactId>commons-lang3</artifactId>
110 <version>3.1</version>
111 </dependency>
Dave Borowitz9de65952012-08-13 16:09:45 -0700112 </dependencies>
113 </dependencyManagement>
114
115 <build>
116 <pluginManagement>
117 <plugins>
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-compiler-plugin</artifactId>
121 <version>2.3.2</version>
122 <configuration>
123 <source>1.6</source>
124 <target>1.6</target>
125 <encoding>UTF-8</encoding>
126 </configuration>
127 </plugin>
128
129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-jar-plugin</artifactId>
132 <configuration>
133 <archive>
134 <manifestEntries>
135 <Implementation-Title>Gitiles - ${project.artifactId}</Implementation-Title>
136 <Implementation-Version>${project.version}</Implementation-Version>
137 <Implementation-Vendor>Gitiles</Implementation-Vendor>
138 <Implementation-Vendor-Id>com.google.gitiles</Implementation-Vendor-Id>
139 <Implementation-Vendor-URL>https://gerrit.googlesource.com/gitiles/</Implementation-Vendor-URL>
140 </manifestEntries>
141 </archive>
142 </configuration>
143 </plugin>
144
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-war-plugin</artifactId>
148 <version>2.1.1</version>
149 </plugin>
150
151 <plugin>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-source-plugin</artifactId>
154 <version>2.1.2</version>
155 </plugin>
156 </plugins>
157 </pluginManagement>
Dave Borowitz1db24ad2013-03-27 22:13:41 -0400158
159 <extensions>
Dave Borowitz86cace82013-04-04 08:46:28 -0700160 <!-- Uncomment to deploy with mvn:deploy. -->
161 <!--
Dave Borowitz1db24ad2013-03-27 22:13:41 -0400162 <extension>
163 <groupId>com.googlesource.gerrit</groupId>
164 <artifactId>gs-maven-wagon</artifactId>
165 <version>3.3</version>
166 </extension>
Dave Borowitz86cace82013-04-04 08:46:28 -0700167 -->
Dave Borowitz1db24ad2013-03-27 22:13:41 -0400168 </extensions>
Dave Borowitz9de65952012-08-13 16:09:45 -0700169 </build>
170
171 <repositories>
172 <!-- For JGit and Soy snapshots. -->
173 <repository>
174 <id>gerrit-maven</id>
175 <url>https://gerrit-maven.commondatastorage.googleapis.com</url>
176 </repository>
177
178 <repository>
179 <id>jgit-repository</id>
180 <url>http://download.eclipse.org/jgit/maven</url>
181 </repository>
182
183 <repository>
184 <id>java.net-repository</id>
185 <url>http://download.java.net/maven/2/</url>
186 </repository>
187 </repositories>
Dave Borowitz1db24ad2013-03-27 22:13:41 -0400188
Dave Borowitz86cace82013-04-04 08:46:28 -0700189 <!-- Uncomment to deploy with mvn:deploy. -->
190 <!--
Dave Borowitz1db24ad2013-03-27 22:13:41 -0400191 <distributionManagement>
192 <repository>
193 <id>gerrit-maven-repository</id>
194 <url>gs://gerrit-maven</url>
195 <uniqueVersion>true</uniqueVersion>
196 </repository>
197 </distributionManagement>
Dave Borowitz86cace82013-04-04 08:46:28 -0700198 -->
Dave Borowitz9de65952012-08-13 16:09:45 -0700199</project>