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-jdk5</artifactId> 14 <version>17.0</version> 15 <packaging>pom</packaging> 16 <name>Guava Maven Parent (JDK5 Backport)</name> 17 <url>http://code.google.com/p/guava-libraries</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.13</truth.version> 23 <bootstrap.classes>${java.home}/lib/rt.jar</bootstrap.classes> 24 </properties> 25 <issueManagement> 26 <system>code.google.com</system> 27 <url>http://code.google.com/p/guava-libraries/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://code.google.com/p/guava-libraries/</connection> 42 <developerConnection>scm:git:https://code.google.com/p/guava-libraries/</developerConnection> 43 <url>http://code.google.com/p/guava-libraries/source/browse</url> 44 </scm> 45 <developers> 46 <developer> 47 <id>kevinb9n</id> 48 <name>Kevin Bourrillion</name> 49 <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> 59 <modules> 60 <module>guava</module> 61 <module>guava-bootstrap</module> 62 <!-- guava-gwt not included for JDK5 backport --> 63 <module>guava-testlib</module> 64 <module>guava-tests</module> 65 </modules> 66 <build> 67 <!-- Handle where Guava deviates from Maven defaults --> 68 <sourceDirectory>src</sourceDirectory> 69 <testSourceDirectory>test</testSourceDirectory> 70 <resources> 71 <resource> 72 <directory>src</directory> 73 <excludes> 74 <exclude>**/*.java</exclude> 75 </excludes> 76 </resource> 77 </resources> 78 <testResources> 79 <testResource> 80 <directory>test</directory> 81 <excludes> 82 <exclude>**/*.java</exclude> 83 </excludes> 84 </testResource> 85 </testResources> 86 87 <plugins> 88 <plugin> 89 <artifactId>maven-gpg-plugin</artifactId> 90 <version>1.4</version> 91 <executions> 92 <execution> 93 <id>sign-artifacts</id> 94 <phase>verify</phase> 95 <goals><goal>sign</goal></goals> 96 </execution> 97 </executions> 98 </plugin> 99 </plugins> 100 <pluginManagement> 101 <plugins> 102 <plugin> 103 <artifactId>maven-compiler-plugin</artifactId> 104 <version>2.3.2</version> 105 <configuration> 106 <source>1.5</source> 107 <target>1.5</target> 108 <compilerArguments> 109 <bootclasspath>${bootstrap.classes}</bootclasspath> 110 </compilerArguments> 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>1.7</version> 142 <configuration> 143 <signature> 144 <groupId>org.codehaus.mojo.signature</groupId> 145 <artifactId>java16-sun</artifactId> 146 <version>1.0</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 <stylesheetfile>javadoc-stylesheet.css</stylesheetfile> 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>javax.inject</groupId> 209 <artifactId>javax.inject</artifactId> 210 <version>1</version> 211 </dependency> 212 <dependency> 213 <groupId>junit</groupId> 214 <artifactId>junit</artifactId> 215 <version>4.8.2</version> 216 <scope>test</scope> 217 </dependency> 218 <dependency> 219 <groupId>org.easymock</groupId> 220 <artifactId>easymock</artifactId> 221 <version>3.0</version> 222 <scope>test</scope> 223 </dependency> 224 <dependency> 225 <groupId>org.mockito</groupId> 226 <artifactId>mockito-core</artifactId> 227 <version>1.8.5</version> 228 <scope>test</scope> 229 </dependency> 230 <dependency> 231 <groupId>org.truth0</groupId> 232 <artifactId>truth</artifactId> 233 <version>${truth.version}</version> 234 <scope>test</scope> 235 <exclusions> 236 <exclusion> 237 <!-- use the guava we're building. --> 238 <groupId>com.google.guava</groupId> 239 <artifactId>guava</artifactId> 240 </exclusion> 241 </exclusions> 242 </dependency> 243 <dependency> 244 <groupId>com.google.caliper</groupId> 245 <artifactId>caliper</artifactId> 246 <version>0.5-rc1</version> 247 <scope>test</scope> 248 <exclusions> 249 <exclusion> 250 <!-- use the guava we're building. --> 251 <groupId>com.google.guava</groupId> 252 <artifactId>guava</artifactId> 253 </exclusion> 254 </exclusions> 255 </dependency> 256 </dependencies> 257 </dependencyManagement> 258</project> 259