blob: 049c5287d9c3044ac101517664d34c083aa2b4eb [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. -->
Dave Borowitz6766dd82012-11-12 11:03:57 -080035 <jgitVersion>2.1.0.201209190230-r</jgitVersion>
Dave Borowitz9de65952012-08-13 16:09:45 -070036 <jettyVersion>7.5.2.v20111006</jettyVersion>
37 </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>
50 <version>13.0</version>
51 </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>
84 <groupId>org.apache.tomcat</groupId>
85 <artifactId>servlet-api</artifactId>
86 <version>6.0.29</version>
87 </dependency>
88
89 <dependency>
90 <groupId>junit</groupId>
91 <artifactId>junit</artifactId>
92 <version>3.8.1</version>
93 </dependency>
94
95 <dependency>
96 <groupId>org.slf4j</groupId>
97 <artifactId>slf4j-api</artifactId>
98 <version>1.6.1</version>
99 </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>
118
119 <dependency>
120 <groupId>org.eclipse.jetty</groupId>
121 <artifactId>jetty-server</artifactId>
122 <version>${jettyVersion}</version>
123 </dependency>
124 </dependencies>
125 </dependencyManagement>
126
127 <build>
128 <pluginManagement>
129 <plugins>
130 <plugin>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-compiler-plugin</artifactId>
133 <version>2.3.2</version>
134 <configuration>
135 <source>1.6</source>
136 <target>1.6</target>
137 <encoding>UTF-8</encoding>
138 </configuration>
139 </plugin>
140
141 <plugin>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-jar-plugin</artifactId>
144 <configuration>
145 <archive>
146 <manifestEntries>
147 <Implementation-Title>Gitiles - ${project.artifactId}</Implementation-Title>
148 <Implementation-Version>${project.version}</Implementation-Version>
149 <Implementation-Vendor>Gitiles</Implementation-Vendor>
150 <Implementation-Vendor-Id>com.google.gitiles</Implementation-Vendor-Id>
151 <Implementation-Vendor-URL>https://gerrit.googlesource.com/gitiles/</Implementation-Vendor-URL>
152 </manifestEntries>
153 </archive>
154 </configuration>
155 </plugin>
156
157 <plugin>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-war-plugin</artifactId>
160 <version>2.1.1</version>
161 </plugin>
162
163 <plugin>
164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-source-plugin</artifactId>
166 <version>2.1.2</version>
167 </plugin>
168 </plugins>
169 </pluginManagement>
170
171 <plugins>
172 <plugin>
173 <groupId>org.mortbay.jetty</groupId>
174 <artifactId>jetty-maven-plugin</artifactId>
175 <version>${jettyVersion}</version>
176 <configuration>
177 <webApp>
178 <defaultsDescriptor>gitiles-war/webdefault.xml</defaultsDescriptor>
179 </webApp>
180 <war>gitiles-war/target/gitiles-war-${project.version}.war</war>
181 </configuration>
182 <!-- TODO(dborowitz): Separate execution with reloadable static
183 resources and templates. -->
184 </plugin>
185 </plugins>
186 </build>
187
188 <repositories>
189 <!-- For JGit and Soy snapshots. -->
190 <repository>
191 <id>gerrit-maven</id>
192 <url>https://gerrit-maven.commondatastorage.googleapis.com</url>
193 </repository>
194
195 <repository>
196 <id>jgit-repository</id>
197 <url>http://download.eclipse.org/jgit/maven</url>
198 </repository>
199
200 <repository>
201 <id>java.net-repository</id>
202 <url>http://download.java.net/maven/2/</url>
203 </repository>
204 </repositories>
205</project>