blob: 5c3b8d17a1ab83e040dda84cc4a593da87c5cb46 [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>
dpbd1971502017-12-01 08:44:00 -080010 <version>9</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>
cgdecker3794eb82017-09-26 13:54:02 -070014 <version>HEAD-jre-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>
Louis Wasserman8cc05722013-04-13 11:56:59 -070019 <!-- Override this with -Dtest.include="**/SomeTest.java" on the CLI -->
cpovirk3cc6ea42017-11-03 12:57:06 -070020 <test.include>%regex[.*.class]</test.include>
cpovirk6247a702017-08-29 05:34:19 -070021 <truth.version>0.35</truth.version>
cpovirkf1ffbe52015-07-10 06:52:00 -070022 <animal.sniffer.version>1.14</animal.sniffer.version>
Chris Povirke166b1d2012-05-08 10:56:54 -040023 </properties>
cgruberatgoog2099f932010-05-25 21:58:04 +000024 <issueManagement>
Jochen Schalandab6bd8482014-11-05 12:29:41 -080025 <system>GitHub Issues</system>
26 <url>https://github.com/google/guava/issues</url>
cgruberatgoog2099f932010-05-25 21:58:04 +000027 </issueManagement>
28 <inceptionYear>2010</inceptionYear>
29 <licenses>
30 <license>
31 <name>The Apache Software License, Version 2.0</name>
32 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
33 <distribution>repo</distribution>
34 </license>
35 </licenses>
36 <prerequisites>
Kurt Kluever406d0d52012-11-29 12:35:31 -050037 <maven>3.0.3</maven>
cgruberatgoog2099f932010-05-25 21:58:04 +000038 </prerequisites>
39 <scm>
Jochen Schalandab6bd8482014-11-05 12:29:41 -080040 <connection>scm:git:https://github.com/google/guava.git</connection>
41 <developerConnection>scm:git:git@github.com:google/guava.git</developerConnection>
42 <url>https://github.com/google/guava</url>
cgruberatgoog2099f932010-05-25 21:58:04 +000043 </scm>
44 <developers>
45 <developer>
46 <id>kevinb9n</id>
Chris Povirk84e94a82012-05-21 16:38:55 -040047 <name>Kevin Bourrillion</name>
cgruberatgoog2099f932010-05-25 21:58:04 +000048 <email>kevinb@google.com</email>
49 <organization>Google</organization>
50 <organizationUrl>http://www.google.com</organizationUrl>
51 <roles>
52 <role>owner</role>
53 <role>developer</role>
54 </roles>
55 <timezone>-8</timezone>
56 </developer>
57 </developers>
cpovirkf935a1e2015-01-22 13:12:35 -080058 <ciManagement>
59 <system>Travis CI</system>
60 <url>https://travis-ci.org/google/guava</url>
61 </ciManagement>
cgruberatgoog0fbb5fd2011-04-20 20:05:07 +000062 <modules>
63 <module>guava</module>
cgruberatgooga909fde2011-05-18 06:26:41 +000064 <module>guava-gwt</module>
cgruberatgoogb90d3752011-07-14 12:27:56 +000065 <module>guava-testlib</module>
66 <module>guava-tests</module>
cgruberatgoog0fbb5fd2011-04-20 20:05:07 +000067 </modules>
Chris Povirk2169c862012-04-16 07:10:06 -040068 <build>
Kurt Klueverd0a148b2013-03-14 15:04:49 -040069 <!-- Handle where Guava deviates from Maven defaults -->
70 <sourceDirectory>src</sourceDirectory>
71 <testSourceDirectory>test</testSourceDirectory>
72 <resources>
73 <resource>
74 <directory>src</directory>
75 <excludes>
76 <exclude>**/*.java</exclude>
77 </excludes>
78 </resource>
79 </resources>
80 <testResources>
81 <testResource>
82 <directory>test</directory>
83 <excludes>
84 <exclude>**/*.java</exclude>
85 </excludes>
86 </testResource>
87 </testResources>
88
Kurt Klueverd0a148b2013-03-14 15:04:49 -040089 <pluginManagement>
90 <plugins>
91 <plugin>
92 <artifactId>maven-compiler-plugin</artifactId>
cpovirk32011a82017-06-16 13:58:40 -070093 <version>3.6.1</version>
Kurt Klueverd0a148b2013-03-14 15:04:49 -040094 <configuration>
cgdecker73e382f2016-11-03 12:04:47 -070095 <source>1.8</source>
96 <target>1.8</target>
Kurt Klueverd0a148b2013-03-14 15:04:49 -040097 </configuration>
98 </plugin>
99 <plugin>
100 <artifactId>maven-jar-plugin</artifactId>
cpovirk2715db72017-11-03 09:33:40 -0700101 <version>3.0.2</version>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400102 <configuration>
103 <excludes>
104 <exclude>**/ForceGuavaCompilation*</exclude>
105 </excludes>
106 </configuration>
107 </plugin>
108 <plugin>
109 <artifactId>maven-source-plugin</artifactId>
110 <version>2.1.2</version>
111 <executions>
112 <execution>
113 <id>attach-sources</id>
114 <phase>post-integration-test</phase>
115 <goals><goal>jar</goal></goals>
116 </execution>
117 </executions>
118 <configuration>
119 <excludes>
120 <exclude>**/ForceGuavaCompilation*</exclude>
121 </excludes>
122 </configuration>
123 </plugin>
124 <plugin>
Colin Decker67f87812014-02-05 13:53:28 -0500125 <groupId>org.codehaus.mojo</groupId>
126 <artifactId>animal-sniffer-maven-plugin</artifactId>
cpovirkf1ffbe52015-07-10 06:52:00 -0700127 <version>${animal.sniffer.version}</version>
Colin Decker67f87812014-02-05 13:53:28 -0500128 <configuration>
129 <signature>
130 <groupId>org.codehaus.mojo.signature</groupId>
cgdecker73e382f2016-11-03 12:04:47 -0700131 <artifactId>java18</artifactId>
132 <version>1.0</version>
Colin Decker67f87812014-02-05 13:53:28 -0500133 </signature>
134 </configuration>
135 <executions>
136 <execution>
cpovirk2ee69f52016-04-22 10:23:09 -0700137 <id>check-java-version-compatibility</id>
Colin Decker67f87812014-02-05 13:53:28 -0500138 <phase>test</phase>
139 <goals>
140 <goal>check</goal>
141 </goals>
142 </execution>
143 </executions>
144 </plugin>
145 <plugin>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400146 <artifactId>maven-javadoc-plugin</artifactId>
cpovirk2d30d5e2017-06-08 12:56:16 -0700147 <version>2.10.4</version>
Colin Decker87c75882013-07-17 16:59:10 -0400148 <configuration>
cgdecker578a7942015-06-09 16:01:47 -0700149 <notimestamp>true</notimestamp>
ronshapiroc3fe1be2017-04-27 11:08:10 -0700150 <additionalparam>-Xdoclint:-html</additionalparam>
Colin Decker87c75882013-07-17 16:59:10 -0400151 </configuration>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400152 <executions>
153 <execution>
154 <id>attach-docs</id>
155 <phase>post-integration-test</phase>
156 <goals><goal>jar</goal></goals>
157 </execution>
158 </executions>
159 </plugin>
160 <plugin>
161 <artifactId>maven-dependency-plugin</artifactId>
cgrubera9f8b892015-09-30 08:04:51 -0700162 <version>2.10</version>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400163 </plugin>
164 <plugin>
165 <artifactId>maven-antrun-plugin</artifactId>
166 <version>1.6</version>
167 </plugin>
168 <plugin>
169 <artifactId>maven-surefire-plugin</artifactId>
170 <version>2.7.2</version>
Louis Wasserman8cc05722013-04-13 11:56:59 -0700171 <configuration>
172 <includes>
173 <include>${test.include}</include>
174 </includes>
cpovirk3cc6ea42017-11-03 12:57:06 -0700175 <!-- By having our own entries here, we also override the default exclusion filter, which excludes all nested classes. -->
176 <excludes>
177 <!-- https://github.com/google/guava/issues/2840 -->
178 <exclude>%regex[.*PackageSanityTests.*.class]</exclude>
cpovirka26b9aa2017-11-03 13:00:39 -0700179 <!-- FeatureUtilTest.*ExampleDerivedInterfaceTester, com.google.common.io.*Tester, incidentally FeatureSpecificTestSuiteBuilderTest.MyAbstractTester (but we don't care either way because it's not meant to run on its own but works OK if it does)... but not NullPointerTesterTest, etc. -->
180 <exclude>%regex[.*Tester.class]</exclude>
cpovirk3cc6ea42017-11-03 12:57:06 -0700181 <!-- Anonymous TestCase subclasses in GeneratedMonitorTest -->
182 <exclude>%regex[.*[$]\d+.class]</exclude>
183 </excludes>
cpovirkd87949a2017-06-12 11:23:01 -0700184 <redirectTestOutputToFile>true</redirectTestOutputToFile>
cpovirkc0557df2017-11-02 12:38:44 -0700185 <runOrder>alphabetical</runOrder>
cpovirkd87949a2017-06-12 11:23:01 -0700186 <!-- Set max heap for tests. -->
187 <!-- Catch dependencies on the default locale by setting it to hi-IN. -->
188 <argLine>-Xmx1536M -Duser.language=hi -Duser.country=IN</argLine>
Louis Wasserman8cc05722013-04-13 11:56:59 -0700189 </configuration>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400190 </plugin>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400191 </plugins>
192 </pluginManagement>
Chris Povirk2169c862012-04-16 07:10:06 -0400193 </build>
194 <distributionManagement>
195 <site>
196 <id>guava-site</id>
197 <name>Guava Documentation Site</name>
198 <url>scp://dummy.server/dontinstall/usestaging</url>
199 </site>
200 </distributionManagement>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400201 <dependencyManagement>
202 <dependencies>
203 <dependency>
204 <groupId>com.google.code.findbugs</groupId>
205 <artifactId>jsr305</artifactId>
206 <version>1.3.9</version>
207 </dependency>
208 <dependency>
cpovirkdc321042017-11-21 17:27:14 -0800209 <groupId>org.checkerframework</groupId>
cpovirke8d744e2017-12-04 12:45:42 -0800210 <artifactId>checker-compat-qual</artifactId>
cpovirkdc321042017-11-21 17:27:14 -0800211 <version>2.0.0</version>
212 </dependency>
213 <dependency>
cushon59003612015-05-19 14:01:22 -0700214 <groupId>com.google.errorprone</groupId>
215 <artifactId>error_prone_annotations</artifactId>
cpovirkf70da792017-11-30 13:52:49 -0800216 <version>2.1.3</version>
cushon59003612015-05-19 14:01:22 -0700217 </dependency>
218 <dependency>
kstangerc62b07d2015-06-24 11:22:50 -0700219 <groupId>com.google.j2objc</groupId>
220 <artifactId>j2objc-annotations</artifactId>
kstangerc48fdcf2016-07-29 13:45:37 -0700221 <version>1.1</version>
kstangerc62b07d2015-06-24 11:22:50 -0700222 </dependency>
223 <dependency>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400224 <groupId>junit</groupId>
225 <artifactId>junit</artifactId>
ronshapirod46ffd32017-08-15 08:55:47 -0700226 <version>4.11</version>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400227 <scope>test</scope>
228 </dependency>
229 <dependency>
230 <groupId>org.easymock</groupId>
231 <artifactId>easymock</artifactId>
232 <version>3.0</version>
233 <scope>test</scope>
234 </dependency>
235 <dependency>
236 <groupId>org.mockito</groupId>
237 <artifactId>mockito-core</artifactId>
cpovirkf7c641d2017-06-12 12:11:28 -0700238 <version>2.7.19</version>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400239 <scope>test</scope>
240 </dependency>
241 <dependency>
cgdecker73e382f2016-11-03 12:04:47 -0700242 <groupId>com.google.jimfs</groupId>
243 <artifactId>jimfs</artifactId>
244 <version>1.1</version>
245 <scope>test</scope>
246 </dependency>
247 <dependency>
Colin Decker5ed9f042014-07-16 15:11:49 -0400248 <groupId>com.google.truth</groupId>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400249 <artifactId>truth</artifactId>
Chris Povirke9dc7842013-06-25 19:52:34 -0400250 <version>${truth.version}</version>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400251 <scope>test</scope>
252 <exclusions>
253 <exclusion>
254 <!-- use the guava we're building. -->
255 <groupId>com.google.guava</groupId>
256 <artifactId>guava</artifactId>
257 </exclusion>
258 </exclusions>
259 </dependency>
260 <dependency>
cgdecker73e382f2016-11-03 12:04:47 -0700261 <groupId>com.google.truth.extensions</groupId>
262 <artifactId>truth-java8-extension</artifactId>
263 <version>${truth.version}</version>
264 <scope>test</scope>
265 <exclusions>
266 <exclusion>
267 <!-- use the guava we're building. -->
268 <groupId>com.google.guava</groupId>
269 <artifactId>guava</artifactId>
270 </exclusion>
271 </exclusions>
272 </dependency>
273 <dependency>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400274 <groupId>com.google.caliper</groupId>
275 <artifactId>caliper</artifactId>
cgdecker4a0e33d2015-03-09 12:47:48 -0700276 <version>1.0-beta-2</version>
Kurt Klueverd0a148b2013-03-14 15:04:49 -0400277 <scope>test</scope>
278 <exclusions>
279 <exclusion>
280 <!-- use the guava we're building. -->
281 <groupId>com.google.guava</groupId>
282 <artifactId>guava</artifactId>
283 </exclusion>
284 </exclusions>
285 </dependency>
286 </dependencies>
287 </dependencyManagement>
cgruberatgoog8d93dfa2011-05-18 20:36:18 +0000288</project>