blob: d0fc3130fc2c145f5c24256cbb40a3daf01f3664 [file] [log] [blame]
cgruberatgoogd2496112010-04-12 04:12:05 +00001<?xml version="1.0" encoding="UTF-8"?>
Chris Povirk389a8682012-05-30 10:09:12 -04002<project xmlns="http://maven.apache.org/POM/4.0.0"
cgruberatgoog0fbb5fd2011-04-20 20:05:07 +00003 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5
cgruberatgoogd2496112010-04-12 04:12:05 +00006 <modelVersion>4.0.0</modelVersion>
7 <parent>
Charles Fryc2408412011-09-09 09:10:30 -04008 <groupId>org.sonatype.oss</groupId>
9 <artifactId>oss-parent</artifactId>
10 <version>7</version>
cgruberatgoogd2496112010-04-12 04:12:05 +000011 </parent>
cgruberatgoog2099f932010-05-25 21:58:04 +000012 <groupId>com.google.guava</groupId>
cgruberatgoog0fbb5fd2011-04-20 20:05:07 +000013 <artifactId>guava-parent</artifactId>
cgdeckerf816d1a2017-05-23 13:13:20 -070014 <version>23.0-SNAPSHOT</version>
cgruberatgoog0fbb5fd2011-04-20 20:05:07 +000015 <packaging>pom</packaging>
Charles Fryf69e5a42011-08-31 10:42:22 -040016 <name>Guava Maven Parent</name>
Jochen Schalandab6bd8482014-11-05 12:29:41 -080017 <url>https://github.com/google/guava</url>
Chris Povirke166b1d2012-05-08 10:56:54 -040018 <properties>
19 <gpg.skip>true</gpg.skip>
Louis Wasserman8cc05722013-04-13 11:56:59 -070020 <!-- Override this with -Dtest.include="**/SomeTest.java" on the CLI -->
cpovirk6d877192017-06-02 13:25:42 -070021 <test.include>%regex[.*Test.class]</test.include>
cpovirk7d05fe52017-06-02 12:22:16 -070022 <truth.version>0.33</truth.version>
cpovirkf1ffbe52015-07-10 06:52:00 -070023 <animal.sniffer.version>1.14</animal.sniffer.version>
Chris Povirke166b1d2012-05-08 10:56:54 -040024 </properties>
cgruberatgoog2099f932010-05-25 21:58:04 +000025 <issueManagement>
Jochen Schalandab6bd8482014-11-05 12:29:41 -080026 <system>GitHub Issues</system>
27 <url>https://github.com/google/guava/issues</url>
cgruberatgoog2099f932010-05-25 21:58:04 +000028 </issueManagement>
29 <inceptionYear>2010</inceptionYear>
30 <licenses>
31 <license>
32 <name>The Apache Software License, Version 2.0</name>
33 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
34 <distribution>repo</distribution>
35 </license>
36 </licenses>
37 <prerequisites>
Kurt Kluever406d0d52012-11-29 12:35:31 -050038 <maven>3.0.3</maven>
cgruberatgoog2099f932010-05-25 21:58:04 +000039 </prerequisites>
40 <scm>
Jochen Schalandab6bd8482014-11-05 12:29:41 -080041 <connection>scm:git:https://github.com/google/guava.git</connection>
42 <developerConnection>scm:git:git@github.com:google/guava.git</developerConnection>
43 <url>https://github.com/google/guava</url>
cgruberatgoog2099f932010-05-25 21:58:04 +000044 </scm>
45 <developers>
46 <developer>
47 <id>kevinb9n</id>
Chris Povirk84e94a82012-05-21 16:38:55 -040048 <name>Kevin Bourrillion</name>
cgruberatgoog2099f932010-05-25 21:58:04 +000049 <email>kevinb@google.com</email>
50 <organization>Google</organization>
51 <organizationUrl>http://www.google.com</organizationUrl>
52 <roles>
53 <role>owner</role>
54 <role>developer</role>
55 </roles>
56 <timezone>-8</timezone>
57 </developer>
58 </developers>
cpovirkf935a1e2015-01-22 13:12:35 -080059 <ciManagement>
60 <system>Travis CI</system>
61 <url>https://travis-ci.org/google/guava</url>
62 </ciManagement>
cgruberatgoog0fbb5fd2011-04-20 20:05:07 +000063 <modules>
64 <module>guava</module>
cgruberatgooga909fde2011-05-18 06:26:41 +000065 <module>guava-gwt</module>
cgruberatgoogb90d3752011-07-14 12:27:56 +000066 <module>guava-testlib</module>
67 <module>guava-tests</module>
cgruberatgoog0fbb5fd2011-04-20 20:05:07 +000068 </modules>
Chris Povirk2169c862012-04-16 07:10:06 -040069 <build>
Kurt Klueverd0a148b2013-03-14 15:04:49 -040070 <!-- Handle where Guava deviates from Maven defaults -->
71 <sourceDirectory>src</sourceDirectory>
72 <testSourceDirectory>test</testSourceDirectory>
73 <resources>
74 <resource>
75 <directory>src</directory>
76 <excludes>
77 <exclude>**/*.java</exclude>
78 </excludes>
79 </resource>
80 </resources>
81 <testResources>
82 <testResource>
83 <directory>test</directory>
84 <excludes>
85 <exclude>**/*.java</exclude>
86 </excludes>
87 </testResource>
88 </testResources>
89
Chris Povirk2169c862012-04-16 07:10:06 -040090 <plugins>
91 <plugin>
92 <artifactId>maven-gpg-plugin</artifactId>
93 <version>1.4</version>
94 <executions>
95 <execution>
96 <id>sign-artifacts</id>
97 <phase>verify</phase>
98 <goals><goal>sign</goal></goals>
99 </execution>
100 </executions>
101 </plugin>
102 </plugins>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400103 <pluginManagement>
104 <plugins>
105 <plugin>
106 <artifactId>maven-compiler-plugin</artifactId>
107 <version>2.3.2</version>
108 <configuration>
cgdecker73e382f2016-11-03 12:04:47 -0700109 <source>1.8</source>
110 <target>1.8</target>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400111 </configuration>
112 </plugin>
113 <plugin>
114 <artifactId>maven-jar-plugin</artifactId>
115 <version>2.3.1</version>
116 <configuration>
117 <excludes>
118 <exclude>**/ForceGuavaCompilation*</exclude>
119 </excludes>
120 </configuration>
121 </plugin>
122 <plugin>
123 <artifactId>maven-source-plugin</artifactId>
124 <version>2.1.2</version>
125 <executions>
126 <execution>
127 <id>attach-sources</id>
128 <phase>post-integration-test</phase>
129 <goals><goal>jar</goal></goals>
130 </execution>
131 </executions>
132 <configuration>
133 <excludes>
134 <exclude>**/ForceGuavaCompilation*</exclude>
135 </excludes>
136 </configuration>
137 </plugin>
138 <plugin>
Colin Decker67f87812014-02-05 13:53:28 -0500139 <groupId>org.codehaus.mojo</groupId>
140 <artifactId>animal-sniffer-maven-plugin</artifactId>
cpovirkf1ffbe52015-07-10 06:52:00 -0700141 <version>${animal.sniffer.version}</version>
Colin Decker67f87812014-02-05 13:53:28 -0500142 <configuration>
143 <signature>
144 <groupId>org.codehaus.mojo.signature</groupId>
cgdecker73e382f2016-11-03 12:04:47 -0700145 <artifactId>java18</artifactId>
146 <version>1.0</version>
Colin Decker67f87812014-02-05 13:53:28 -0500147 </signature>
148 </configuration>
149 <executions>
150 <execution>
cpovirk2ee69f52016-04-22 10:23:09 -0700151 <id>check-java-version-compatibility</id>
Colin Decker67f87812014-02-05 13:53:28 -0500152 <phase>test</phase>
153 <goals>
154 <goal>check</goal>
155 </goals>
156 </execution>
157 </executions>
158 </plugin>
159 <plugin>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400160 <artifactId>maven-javadoc-plugin</artifactId>
cpovirk2d30d5e2017-06-08 12:56:16 -0700161 <version>2.10.4</version>
Colin Decker87c75882013-07-17 16:59:10 -0400162 <configuration>
cgdecker578a7942015-06-09 16:01:47 -0700163 <notimestamp>true</notimestamp>
ronshapiroc3fe1be2017-04-27 11:08:10 -0700164 <additionalparam>-Xdoclint:-html</additionalparam>
Colin Decker87c75882013-07-17 16:59:10 -0400165 </configuration>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400166 <executions>
167 <execution>
168 <id>attach-docs</id>
169 <phase>post-integration-test</phase>
170 <goals><goal>jar</goal></goals>
171 </execution>
172 </executions>
173 </plugin>
174 <plugin>
175 <artifactId>maven-dependency-plugin</artifactId>
cgrubera9f8b892015-09-30 08:04:51 -0700176 <version>2.10</version>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400177 </plugin>
178 <plugin>
179 <artifactId>maven-antrun-plugin</artifactId>
180 <version>1.6</version>
181 </plugin>
182 <plugin>
183 <artifactId>maven-surefire-plugin</artifactId>
184 <version>2.7.2</version>
Louis Wasserman8cc05722013-04-13 11:56:59 -0700185 <configuration>
186 <includes>
187 <include>${test.include}</include>
188 </includes>
cpovirkd87949a2017-06-12 11:23:01 -0700189 <redirectTestOutputToFile>true</redirectTestOutputToFile>
190 <!-- Set max heap for tests. -->
191 <!-- Catch dependencies on the default locale by setting it to hi-IN. -->
192 <argLine>-Xmx1536M -Duser.language=hi -Duser.country=IN</argLine>
Louis Wasserman8cc05722013-04-13 11:56:59 -0700193 </configuration>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400194 </plugin>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400195 </plugins>
196 </pluginManagement>
Chris Povirk2169c862012-04-16 07:10:06 -0400197 </build>
198 <distributionManagement>
199 <site>
200 <id>guava-site</id>
201 <name>Guava Documentation Site</name>
202 <url>scp://dummy.server/dontinstall/usestaging</url>
203 </site>
204 </distributionManagement>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400205 <dependencyManagement>
206 <dependencies>
207 <dependency>
208 <groupId>com.google.code.findbugs</groupId>
209 <artifactId>jsr305</artifactId>
210 <version>1.3.9</version>
211 </dependency>
212 <dependency>
cushon59003612015-05-19 14:01:22 -0700213 <groupId>com.google.errorprone</groupId>
214 <artifactId>error_prone_annotations</artifactId>
cgdeckerc7769b22017-03-03 09:50:38 -0800215 <version>2.0.18</version>
cushon59003612015-05-19 14:01:22 -0700216 </dependency>
217 <dependency>
kstangerc62b07d2015-06-24 11:22:50 -0700218 <groupId>com.google.j2objc</groupId>
219 <artifactId>j2objc-annotations</artifactId>
kstangerc48fdcf2016-07-29 13:45:37 -0700220 <version>1.1</version>
kstangerc62b07d2015-06-24 11:22:50 -0700221 </dependency>
222 <dependency>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400223 <groupId>junit</groupId>
224 <artifactId>junit</artifactId>
225 <version>4.8.2</version>
226 <scope>test</scope>
227 </dependency>
228 <dependency>
229 <groupId>org.easymock</groupId>
230 <artifactId>easymock</artifactId>
231 <version>3.0</version>
232 <scope>test</scope>
233 </dependency>
234 <dependency>
235 <groupId>org.mockito</groupId>
236 <artifactId>mockito-core</artifactId>
Grzegorz Rożnieckiadc36ab2016-10-04 12:42:05 -0700237 <version>2.1.0</version>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400238 <scope>test</scope>
239 </dependency>
240 <dependency>
cgdecker73e382f2016-11-03 12:04:47 -0700241 <groupId>com.google.jimfs</groupId>
242 <artifactId>jimfs</artifactId>
243 <version>1.1</version>
244 <scope>test</scope>
245 </dependency>
246 <dependency>
Colin Decker5ed9f042014-07-16 15:11:49 -0400247 <groupId>com.google.truth</groupId>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400248 <artifactId>truth</artifactId>
Chris Povirke9dc7842013-06-25 19:52:34 -0400249 <version>${truth.version}</version>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400250 <scope>test</scope>
251 <exclusions>
252 <exclusion>
253 <!-- use the guava we're building. -->
254 <groupId>com.google.guava</groupId>
255 <artifactId>guava</artifactId>
256 </exclusion>
257 </exclusions>
258 </dependency>
259 <dependency>
cgdecker73e382f2016-11-03 12:04:47 -0700260 <groupId>com.google.truth.extensions</groupId>
261 <artifactId>truth-java8-extension</artifactId>
262 <version>${truth.version}</version>
263 <scope>test</scope>
264 <exclusions>
265 <exclusion>
266 <!-- use the guava we're building. -->
267 <groupId>com.google.guava</groupId>
268 <artifactId>guava</artifactId>
269 </exclusion>
270 </exclusions>
271 </dependency>
272 <dependency>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400273 <groupId>com.google.caliper</groupId>
274 <artifactId>caliper</artifactId>
cgdecker4a0e33d2015-03-09 12:47:48 -0700275 <version>1.0-beta-2</version>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400276 <scope>test</scope>
277 <exclusions>
278 <exclusion>
279 <!-- use the guava we're building. -->
280 <groupId>com.google.guava</groupId>
281 <artifactId>guava</artifactId>
282 </exclusion>
283 </exclusions>
284 </dependency>
285 </dependencies>
286 </dependencyManagement>
cgruberatgoog8d93dfa2011-05-18 20:36:18 +0000287</project>