blob: 2d8e8a6c5bc1d105902b928454c8f9404020ac6c [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. -->
David Ostrovsky76a46742013-10-24 07:44:31 +020035 <jgitVersion>3.1.0.201310021548-r</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>
Dave Borowitz6d9bc5a2013-06-19 09:12:52 -070073 <artifactId>org.eclipse.jgit.archive</artifactId>
74 <version>${jgitVersion}</version>
75 </dependency>
76
77 <dependency>
78 <groupId>org.eclipse.jgit</groupId>
Dave Borowitz9de65952012-08-13 16:09:45 -070079 <artifactId>org.eclipse.jgit.junit</artifactId>
80 <version>${jgitVersion}</version>
81 <exclusions>
82 <exclusion>
83 <groupId>org.eclipse.jgit</groupId>
84 <artifactId>org.eclipse.jgit</artifactId>
85 </exclusion>
86 </exclusions>
87 </dependency>
88
89 <dependency>
Dave Borowitz9de65952012-08-13 16:09:45 -070090 <groupId>junit</groupId>
91 <artifactId>junit</artifactId>
Dave Borowitz92fbc482013-03-28 12:14:55 -040092 <version>4.11</version>
Dave Borowitz9de65952012-08-13 16:09:45 -070093 </dependency>
94
95 <dependency>
96 <groupId>org.slf4j</groupId>
97 <artifactId>slf4j-api</artifactId>
Dave Borowitz661ac2e2013-01-11 12:23:22 -080098 <version>${slf4jVersion}</version>
Dave Borowitz9de65952012-08-13 16:09:45 -070099 </dependency>
100
101 <dependency>
102 <groupId>joda-time</groupId>
103 <artifactId>joda-time</artifactId>
104 <version>2.1</version>
105 </dependency>
106
107 <dependency>
108 <groupId>com.google.code.gson</groupId>
109 <artifactId>gson</artifactId>
110 <version>2.1</version>
111 </dependency>
112
113 <dependency>
114 <groupId>org.apache.commons</groupId>
115 <artifactId>commons-lang3</artifactId>
116 <version>3.1</version>
117 </dependency>
Dave Borowitz9de65952012-08-13 16:09:45 -0700118 </dependencies>
119 </dependencyManagement>
120
121 <build>
122 <pluginManagement>
123 <plugins>
124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-compiler-plugin</artifactId>
127 <version>2.3.2</version>
128 <configuration>
David Ostrovskyb0a74ec2014-02-23 22:21:28 +0100129 <source>1.7</source>
130 <target>1.7</target>
Dave Borowitz9de65952012-08-13 16:09:45 -0700131 <encoding>UTF-8</encoding>
132 </configuration>
133 </plugin>
134
135 <plugin>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-jar-plugin</artifactId>
138 <configuration>
139 <archive>
140 <manifestEntries>
141 <Implementation-Title>Gitiles - ${project.artifactId}</Implementation-Title>
142 <Implementation-Version>${project.version}</Implementation-Version>
143 <Implementation-Vendor>Gitiles</Implementation-Vendor>
144 <Implementation-Vendor-Id>com.google.gitiles</Implementation-Vendor-Id>
145 <Implementation-Vendor-URL>https://gerrit.googlesource.com/gitiles/</Implementation-Vendor-URL>
146 </manifestEntries>
147 </archive>
148 </configuration>
149 </plugin>
150
151 <plugin>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-war-plugin</artifactId>
154 <version>2.1.1</version>
155 </plugin>
156
157 <plugin>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-source-plugin</artifactId>
160 <version>2.1.2</version>
161 </plugin>
162 </plugins>
163 </pluginManagement>
Dave Borowitz1db24ad2013-03-27 22:13:41 -0400164
165 <extensions>
Dave Borowitz86cace82013-04-04 08:46:28 -0700166 <!-- Uncomment to deploy with mvn:deploy. -->
167 <!--
Dave Borowitz1db24ad2013-03-27 22:13:41 -0400168 <extension>
169 <groupId>com.googlesource.gerrit</groupId>
170 <artifactId>gs-maven-wagon</artifactId>
171 <version>3.3</version>
172 </extension>
Dave Borowitz86cace82013-04-04 08:46:28 -0700173 -->
Dave Borowitz1db24ad2013-03-27 22:13:41 -0400174 </extensions>
Dave Borowitz9de65952012-08-13 16:09:45 -0700175 </build>
176
177 <repositories>
178 <!-- For JGit and Soy snapshots. -->
179 <repository>
180 <id>gerrit-maven</id>
181 <url>https://gerrit-maven.commondatastorage.googleapis.com</url>
182 </repository>
183
184 <repository>
185 <id>jgit-repository</id>
David Ostrovsky76a46742013-10-24 07:44:31 +0200186 <url>https://repo.eclipse.org/content/groups/releases</url>
Dave Borowitz9de65952012-08-13 16:09:45 -0700187 </repository>
188
189 <repository>
190 <id>java.net-repository</id>
191 <url>http://download.java.net/maven/2/</url>
192 </repository>
193 </repositories>
Dave Borowitz1db24ad2013-03-27 22:13:41 -0400194
Dave Borowitz86cace82013-04-04 08:46:28 -0700195 <!-- Uncomment to deploy with mvn:deploy. -->
196 <!--
Dave Borowitz1db24ad2013-03-27 22:13:41 -0400197 <distributionManagement>
198 <repository>
199 <id>gerrit-maven-repository</id>
200 <url>gs://gerrit-maven</url>
201 <uniqueVersion>true</uniqueVersion>
202 </repository>
203 </distributionManagement>
Dave Borowitz86cace82013-04-04 08:46:28 -0700204 -->
Dave Borowitz9de65952012-08-13 16:09:45 -0700205</project>