1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" 3 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 6 <modelVersion>4.0.0</modelVersion> 7 <parent> 8 <groupId>org.sonatype.oss</groupId> 9 <artifactId>oss-parent</artifactId> 10 <version>7</version> 11 </parent> 12 <groupId>com.google.guava</groupId> 13 <artifactId>guava-parent</artifactId> 14 <version>19.0</version> 15 <packaging>pom</packaging> 16 <name>Guava Maven Parent</name> 17 <url>https://github.com/google/guava</url> 18 <properties> 19 <gpg.skip>true</gpg.skip> 20 <!-- Override this with -Dtest.include="**/SomeTest.java" on the CLI --> 21 <test.include>**/*Test.java</test.include> 22 <truth.version>0.25</truth.version> 23 <animal.sniffer.version>1.14</animal.sniffer.version> 24 </properties> 25 <issueManagement> 26 <system>GitHub Issues</system> 27 <url>https://github.com/google/guava/issues</url> 28 </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> 38 <maven>3.0.3</maven> 39 </prerequisites> 40 <scm> 41 <connection>scm:git:https://github.com/google/guava.git</connection> 42 <developerConnection>scm:git:git (a] github.com:google/guava.git</developerConnection> 43 <url>https://github.com/google/guava</url> 44 </scm> 45 <developers> 46 <developer> 47 <id>kevinb9n</id> 48 <name>Kevin Bourrillion</name> 49 <email>kevinb (a] 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> 59 <ciManagement> 60 <system>Travis CI</system> 61 <url>https://travis-ci.org/google/guava</url> 62 </ciManagement> 63 <modules> 64 <module>guava</module> 65 <module>guava-gwt</module> 66 <module>guava-testlib</module> 67 <module>guava-tests</module> 68 </modules> 69 <build> 70 <!-- 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 90 <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> 103 <pluginManagement> 104 <plugins> 105 <plugin> 106 <artifactId>maven-compiler-plugin</artifactId> 107 <version>2.3.2</version> 108 <configuration> 109 <source>1.6</source> 110 <target>1.6</target> 111 </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> 139 <groupId>org.codehaus.mojo</groupId> 140 <artifactId>animal-sniffer-maven-plugin</artifactId> 141 <version>${animal.sniffer.version}</version> 142 <configuration> 143 <signature> 144 <groupId>org.codehaus.mojo.signature</groupId> 145 <artifactId>java16-sun</artifactId> 146 <version>1.10</version> 147 </signature> 148 </configuration> 149 <executions> 150 <execution> 151 <id>check-java16-sun</id> 152 <phase>test</phase> 153 <goals> 154 <goal>check</goal> 155 </goals> 156 </execution> 157 </executions> 158 </plugin> 159 <plugin> 160 <artifactId>maven-javadoc-plugin</artifactId> 161 <version>2.8</version> 162 <configuration> 163 <notimestamp>true</notimestamp> 164 </configuration> 165 <executions> 166 <execution> 167 <id>attach-docs</id> 168 <phase>post-integration-test</phase> 169 <goals><goal>jar</goal></goals> 170 </execution> 171 </executions> 172 </plugin> 173 <plugin> 174 <artifactId>maven-dependency-plugin</artifactId> 175 <version>2.3</version> 176 </plugin> 177 <plugin> 178 <artifactId>maven-antrun-plugin</artifactId> 179 <version>1.6</version> 180 </plugin> 181 <plugin> 182 <artifactId>maven-surefire-plugin</artifactId> 183 <version>2.7.2</version> 184 <configuration> 185 <includes> 186 <include>${test.include}</include> 187 </includes> 188 </configuration> 189 </plugin> 190 </plugins> 191 </pluginManagement> 192 </build> 193 <distributionManagement> 194 <site> 195 <id>guava-site</id> 196 <name>Guava Documentation Site</name> 197 <url>scp://dummy.server/dontinstall/usestaging</url> 198 </site> 199 </distributionManagement> 200 <dependencyManagement> 201 <dependencies> 202 <dependency> 203 <groupId>com.google.code.findbugs</groupId> 204 <artifactId>jsr305</artifactId> 205 <version>1.3.9</version> 206 </dependency> 207 <dependency> 208 <groupId>com.google.errorprone</groupId> 209 <artifactId>error_prone_annotations</artifactId> 210 <version>2.0.2</version> 211 </dependency> 212 <dependency> 213 <groupId>com.google.j2objc</groupId> 214 <artifactId>j2objc-annotations</artifactId> 215 <version>0.1</version> 216 </dependency> 217 <dependency> 218 <groupId>junit</groupId> 219 <artifactId>junit</artifactId> 220 <version>4.8.2</version> 221 <scope>test</scope> 222 </dependency> 223 <dependency> 224 <groupId>org.easymock</groupId> 225 <artifactId>easymock</artifactId> 226 <version>3.0</version> 227 <scope>test</scope> 228 </dependency> 229 <dependency> 230 <groupId>org.mockito</groupId> 231 <artifactId>mockito-core</artifactId> 232 <version>1.8.5</version> 233 <scope>test</scope> 234 </dependency> 235 <dependency> 236 <groupId>com.google.truth</groupId> 237 <artifactId>truth</artifactId> 238 <version>${truth.version}</version> 239 <scope>test</scope> 240 <exclusions> 241 <exclusion> 242 <!-- use the guava we're building. --> 243 <groupId>com.google.guava</groupId> 244 <artifactId>guava</artifactId> 245 </exclusion> 246 </exclusions> 247 </dependency> 248 <dependency> 249 <groupId>com.google.caliper</groupId> 250 <artifactId>caliper</artifactId> 251 <version>1.0-beta-2</version> 252 <scope>test</scope> 253 <exclusions> 254 <exclusion> 255 <!-- use the guava we're building. --> 256 <groupId>com.google.guava</groupId> 257 <artifactId>guava</artifactId> 258 </exclusion> 259 </exclusions> 260 </dependency> 261 </dependencies> 262 </dependencyManagement> 263 <profiles> 264 <profile> 265 <id>jdk7</id> 266 <activation> 267 <jdk>1.7</jdk> 268 </activation> 269 <!-- Set custom stylesheet under JDK7 --> 270 <reporting> 271 <plugins> 272 <plugin> 273 <groupId>org.apache.maven.plugins</groupId> 274 <artifactId>maven-javadoc-plugin</artifactId> 275 <configuration> 276 <stylesheetfile>javadoc-stylesheet.css</stylesheetfile> 277 </configuration> 278 </plugin> 279 </plugins> 280 </reporting> 281 <build> 282 <plugins> 283 <plugin> 284 <groupId>org.apache.maven.plugins</groupId> 285 <artifactId>maven-javadoc-plugin</artifactId> 286 <configuration> 287 <stylesheetfile>javadoc-stylesheet.css</stylesheetfile> 288 </configuration> 289 </plugin> 290 </plugins> 291 </build> 292 </profile> 293 <profile> 294 <id>jdk8</id> 295 <activation> 296 <jdk>[1.8,)</jdk> 297 </activation> 298 <!-- Disable doclint under JDK 8 --> 299 <reporting> 300 <plugins> 301 <plugin> 302 <groupId>org.apache.maven.plugins</groupId> 303 <artifactId>maven-javadoc-plugin</artifactId> 304 <configuration> 305 <additionalparam>-Xdoclint:none</additionalparam> 306 </configuration> 307 </plugin> 308 </plugins> 309 </reporting> 310 <build> 311 <plugins> 312 <plugin> 313 <groupId>org.apache.maven.plugins</groupId> 314 <artifactId>maven-javadoc-plugin</artifactId> 315 <configuration> 316 <additionalparam>-Xdoclint:none</additionalparam> 317 </configuration> 318 </plugin> 319 </plugins> 320 </build> 321 </profile> 322 </profiles> 323 </project> 324