| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright 2012 Google Inc. All Rights Reserved. |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <groupId>com.google.gitiles</groupId> |
| <artifactId>gitiles-parent</artifactId> |
| <packaging>pom</packaging> |
| <version>1.0-SNAPSHOT</version> |
| |
| <name>Gitiles - Parent</name> |
| <url>https://gerrit.googlesource.com/gitiles</url> |
| |
| <description> |
| Gitiles - Simple Git Repository Browser |
| </description> |
| |
| <properties> |
| <!-- Should track Gerrit's versions fairly closely. --> |
| <jgitVersion>2.3.1.201302201838-r.78-g8fcde4b</jgitVersion> |
| <jettyVersion>8.1.7.v20120910</jettyVersion> |
| <slf4jVersion>1.6.1</slf4jVersion> |
| </properties> |
| |
| <modules> |
| <module>gitiles-dev</module> |
| <module>gitiles-servlet</module> |
| <module>gitiles-war</module> |
| </modules> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>14.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.template</groupId> |
| <artifactId>soy</artifactId> |
| <version>2011-22-12</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jgit</groupId> |
| <artifactId>org.eclipse.jgit</artifactId> |
| <version>${jgitVersion}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jgit</groupId> |
| <artifactId>org.eclipse.jgit.http.server</artifactId> |
| <version>${jgitVersion}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jgit</groupId> |
| <artifactId>org.eclipse.jgit.junit</artifactId> |
| <version>${jgitVersion}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.eclipse.jgit</groupId> |
| <artifactId>org.eclipse.jgit</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>6.0.29</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4jVersion}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>joda-time</groupId> |
| <artifactId>joda-time</artifactId> |
| <version>2.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>2.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>3.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <version>${jettyVersion}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.3.2</version> |
| <configuration> |
| <source>1.6</source> |
| <target>1.6</target> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <Implementation-Title>Gitiles - ${project.artifactId}</Implementation-Title> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| <Implementation-Vendor>Gitiles</Implementation-Vendor> |
| <Implementation-Vendor-Id>com.google.gitiles</Implementation-Vendor-Id> |
| <Implementation-Vendor-URL>https://gerrit.googlesource.com/gitiles/</Implementation-Vendor-URL> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>2.1.1</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.1.2</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <extensions> |
| <!-- Uncomment to deploy with mvn:deploy. --> |
| <!-- |
| <extension> |
| <groupId>com.googlesource.gerrit</groupId> |
| <artifactId>gs-maven-wagon</artifactId> |
| <version>3.3</version> |
| </extension> |
| --> |
| </extensions> |
| </build> |
| |
| <repositories> |
| <!-- For JGit and Soy snapshots. --> |
| <repository> |
| <id>gerrit-maven</id> |
| <url>https://gerrit-maven.commondatastorage.googleapis.com</url> |
| </repository> |
| |
| <repository> |
| <id>jgit-repository</id> |
| <url>http://download.eclipse.org/jgit/maven</url> |
| </repository> |
| |
| <repository> |
| <id>java.net-repository</id> |
| <url>http://download.java.net/maven/2/</url> |
| </repository> |
| </repositories> |
| |
| <!-- Uncomment to deploy with mvn:deploy. --> |
| <!-- |
| <distributionManagement> |
| <repository> |
| <id>gerrit-maven-repository</id> |
| <url>gs://gerrit-maven</url> |
| <uniqueVersion>true</uniqueVersion> |
| </repository> |
| </distributionManagement> |
| --> |
| </project> |