| Dave Borowitz | 9de6595 | 2012-08-13 16:09:45 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | Copyright 2012 Google Inc. All Rights Reserved. |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations 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 Borowitz | 6766dd8 | 2012-11-12 11:03:57 -0800 | [diff] [blame] | 35 | <jgitVersion>2.1.0.201209190230-r</jgitVersion> |
| Dave Borowitz | 231b454 | 2013-01-10 20:30:48 -0800 | [diff] [blame] | 36 | <jettyVersion>7.6.8.v20121106</jettyVersion> |
| Dave Borowitz | 9de6595 | 2012-08-13 16:09:45 -0700 | [diff] [blame] | 37 | </properties> |
| 38 | |
| 39 | <modules> |
| Dave Borowitz | 09ff62b | 2012-12-17 14:09:16 -0800 | [diff] [blame] | 40 | <module>gitiles-dev</module> |
| Dave Borowitz | 9de6595 | 2012-08-13 16:09:45 -0700 | [diff] [blame] | 41 | <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> |
| Dave Borowitz | 9de6595 | 2012-08-13 16:09:45 -0700 | [diff] [blame] | 170 | </build> |
| 171 | |
| 172 | <repositories> |
| 173 | <!-- For JGit and Soy snapshots. --> |
| 174 | <repository> |
| 175 | <id>gerrit-maven</id> |
| 176 | <url>https://gerrit-maven.commondatastorage.googleapis.com</url> |
| 177 | </repository> |
| 178 | |
| 179 | <repository> |
| 180 | <id>jgit-repository</id> |
| 181 | <url>http://download.eclipse.org/jgit/maven</url> |
| 182 | </repository> |
| 183 | |
| 184 | <repository> |
| 185 | <id>java.net-repository</id> |
| 186 | <url>http://download.java.net/maven/2/</url> |
| 187 | </repository> |
| 188 | </repositories> |
| 189 | </project> |