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>18.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.23</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@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>junit</groupId> 204 <artifactId>junit</artifactId> 205 <version>4.8.2</version> 206 <scope>test</scope> 207 </dependency> 208 <dependency> 209 <groupId>org.easymock</groupId> 210 <artifactId>easymock</artifactId> 211 <version>3.0</version> 212 <scope>test</scope> 213 </dependency> 214 <dependency> 215 <groupId>org.mockito</groupId> 216 <artifactId>mockito-core</artifactId> 217 <version>1.8.5</version> 218 <scope>test</scope> 219 </dependency> 220 <dependency> 221 <groupId>com.google.truth</groupId> 222 <artifactId>truth</artifactId> 223 <version>${truth.version}</version> 224 <scope>test</scope> 225 <exclusions> 226 <exclusion> 227 <!-- use the guava we're building. --> 228 <groupId>com.google.guava</groupId> 229 <artifactId>guava</artifactId> 230 </exclusion> 231 </exclusions> 232 </dependency> 233 <dependency> 234 <groupId>com.google.caliper</groupId> 235 <artifactId>caliper</artifactId> 236 <version>0.5-rc1</version> 237 <scope>test</scope> 238 <exclusions> 239 <exclusion> 240 <!-- use the guava we're building. --> 241 <groupId>com.google.guava</groupId> 242 <artifactId>guava</artifactId> 243 </exclusion> 244 </exclusions> 245 </dependency> 246 </dependencies> 247 </dependencyManagement> 248</project> 249