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>17.0</version> 15 <packaging>pom</packaging> 16 <name>Guava Maven Parent</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 </properties> 24 <issueManagement> 25 <system>code.google.com</system> 26 <url>http://code.google.com/p/guava-libraries/issues</url> 27 </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> 37 <maven>3.0.3</maven> 38 </prerequisites> 39 <scm> 40 <connection>scm:git:https://code.google.com/p/guava-libraries/</connection> 41 <developerConnection>scm:git:https://code.google.com/p/guava-libraries/</developerConnection> 42 <url>http://code.google.com/p/guava-libraries/source/browse</url> 43 </scm> 44 <developers> 45 <developer> 46 <id>kevinb9n</id> 47 <name>Kevin Bourrillion</name> 48 <email>kevinb (a] 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> 58 <modules> 59 <module>guava</module> 60 <module>guava-gwt</module> 61 <module>guava-testlib</module> 62 <module>guava-tests</module> 63 </modules> 64 <build> 65 <!-- Handle where Guava deviates from Maven defaults --> 66 <sourceDirectory>src</sourceDirectory> 67 <testSourceDirectory>test</testSourceDirectory> 68 <resources> 69 <resource> 70 <directory>src</directory> 71 <excludes> 72 <exclude>**/*.java</exclude> 73 </excludes> 74 </resource> 75 </resources> 76 <testResources> 77 <testResource> 78 <directory>test</directory> 79 <excludes> 80 <exclude>**/*.java</exclude> 81 </excludes> 82 </testResource> 83 </testResources> 84 85 <plugins> 86 <plugin> 87 <artifactId>maven-gpg-plugin</artifactId> 88 <version>1.4</version> 89 <executions> 90 <execution> 91 <id>sign-artifacts</id> 92 <phase>verify</phase> 93 <goals><goal>sign</goal></goals> 94 </execution> 95 </executions> 96 </plugin> 97 </plugins> 98 <pluginManagement> 99 <plugins> 100 <plugin> 101 <artifactId>maven-compiler-plugin</artifactId> 102 <version>2.3.2</version> 103 <configuration> 104 <source>1.6</source> 105 <target>1.6</target> 106 </configuration> 107 </plugin> 108 <plugin> 109 <artifactId>maven-jar-plugin</artifactId> 110 <version>2.3.1</version> 111 <configuration> 112 <excludes> 113 <exclude>**/ForceGuavaCompilation*</exclude> 114 </excludes> 115 </configuration> 116 </plugin> 117 <plugin> 118 <artifactId>maven-source-plugin</artifactId> 119 <version>2.1.2</version> 120 <executions> 121 <execution> 122 <id>attach-sources</id> 123 <phase>post-integration-test</phase> 124 <goals><goal>jar</goal></goals> 125 </execution> 126 </executions> 127 <configuration> 128 <excludes> 129 <exclude>**/ForceGuavaCompilation*</exclude> 130 </excludes> 131 </configuration> 132 </plugin> 133 <plugin> 134 <groupId>org.codehaus.mojo</groupId> 135 <artifactId>animal-sniffer-maven-plugin</artifactId> 136 <version>1.7</version> 137 <configuration> 138 <signature> 139 <groupId>org.codehaus.mojo.signature</groupId> 140 <artifactId>java16-sun</artifactId> 141 <version>1.0</version> 142 </signature> 143 </configuration> 144 <executions> 145 <execution> 146 <id>check-java16-sun</id> 147 <phase>test</phase> 148 <goals> 149 <goal>check</goal> 150 </goals> 151 </execution> 152 </executions> 153 </plugin> 154 <plugin> 155 <artifactId>maven-javadoc-plugin</artifactId> 156 <version>2.8</version> 157 <configuration> 158 <stylesheetfile>javadoc-stylesheet.css</stylesheetfile> 159 </configuration> 160 <executions> 161 <execution> 162 <id>attach-docs</id> 163 <phase>post-integration-test</phase> 164 <goals><goal>jar</goal></goals> 165 </execution> 166 </executions> 167 </plugin> 168 <plugin> 169 <artifactId>maven-dependency-plugin</artifactId> 170 <version>2.3</version> 171 </plugin> 172 <plugin> 173 <artifactId>maven-antrun-plugin</artifactId> 174 <version>1.6</version> 175 </plugin> 176 <plugin> 177 <artifactId>maven-surefire-plugin</artifactId> 178 <version>2.7.2</version> 179 <configuration> 180 <includes> 181 <include>${test.include}</include> 182 </includes> 183 </configuration> 184 </plugin> 185 </plugins> 186 </pluginManagement> 187 </build> 188 <distributionManagement> 189 <site> 190 <id>guava-site</id> 191 <name>Guava Documentation Site</name> 192 <url>scp://dummy.server/dontinstall/usestaging</url> 193 </site> 194 </distributionManagement> 195 <dependencyManagement> 196 <dependencies> 197 <dependency> 198 <groupId>com.google.code.findbugs</groupId> 199 <artifactId>jsr305</artifactId> 200 <version>1.3.9</version> 201 </dependency> 202 <dependency> 203 <groupId>javax.inject</groupId> 204 <artifactId>javax.inject</artifactId> 205 <version>1</version> 206 </dependency> 207 <dependency> 208 <groupId>junit</groupId> 209 <artifactId>junit</artifactId> 210 <version>4.8.2</version> 211 <scope>test</scope> 212 </dependency> 213 <dependency> 214 <groupId>org.easymock</groupId> 215 <artifactId>easymock</artifactId> 216 <version>3.0</version> 217 <scope>test</scope> 218 </dependency> 219 <dependency> 220 <groupId>org.mockito</groupId> 221 <artifactId>mockito-core</artifactId> 222 <version>1.8.5</version> 223 <scope>test</scope> 224 </dependency> 225 <dependency> 226 <groupId>org.truth0</groupId> 227 <artifactId>truth</artifactId> 228 <version>${truth.version}</version> 229 <scope>test</scope> 230 <exclusions> 231 <exclusion> 232 <!-- use the guava we're building. --> 233 <groupId>com.google.guava</groupId> 234 <artifactId>guava</artifactId> 235 </exclusion> 236 </exclusions> 237 </dependency> 238 <dependency> 239 <groupId>com.google.caliper</groupId> 240 <artifactId>caliper</artifactId> 241 <version>0.5-rc1</version> 242 <scope>test</scope> 243 <exclusions> 244 <exclusion> 245 <!-- use the guava we're building. --> 246 <groupId>com.google.guava</groupId> 247 <artifactId>guava</artifactId> 248 </exclusion> 249 </exclusions> 250 </dependency> 251 </dependencies> 252 </dependencyManagement> 253 </project> 254