1<?xml version="1.0" encoding="UTF-8"?> 2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4 <modelVersion>4.0.0</modelVersion> 5 <parent> 6 <groupId>com.google.guava</groupId> 7 <artifactId>guava-parent</artifactId> 8 <version>18.0</version> 9 </parent> 10 <artifactId>guava-testlib</artifactId> 11 <name>Guava Testing Library</name> 12 <description> 13 Guava testlib is a set of java classes used for more convenient 14 unit testing - particularly to assist the tests for Guava itself. 15 </description> 16 <dependencies> 17 <dependency> 18 <groupId>com.google.code.findbugs</groupId> 19 <artifactId>jsr305</artifactId> 20 </dependency> 21 <dependency> 22 <groupId>${project.groupId}</groupId> 23 <artifactId>guava</artifactId> 24 <version>${project.version}</version> 25 </dependency> 26 <dependency> 27 <groupId>junit</groupId> 28 <artifactId>junit</artifactId> 29 <scope>compile</scope><!-- testlib must carry these transitively --> 30 </dependency> 31 <dependency> 32 <groupId>com.google.truth</groupId> 33 <artifactId>truth</artifactId> 34 <scope>compile</scope><!-- testlib must carry these transitively --> 35 </dependency> 36 </dependencies> 37 <build> 38 <plugins> 39 <plugin> 40 <artifactId>maven-compiler-plugin</artifactId> 41 </plugin> 42 <plugin> 43 <artifactId>maven-source-plugin</artifactId> 44 <executions> 45 <execution> 46 <id>attach-test-sources</id> 47 <phase>post-integration-test</phase> 48 <goals><goal>test-jar</goal></goals> 49 </execution> 50 </executions> 51 </plugin> 52 <plugin> 53 <artifactId>maven-jar-plugin</artifactId> 54 <version>2.3.1</version> 55 <executions> 56 <execution> 57 <goals><goal>test-jar</goal></goals> 58 </execution> 59 </executions> 60 </plugin> 61 <plugin> 62 <groupId>org.codehaus.mojo</groupId> 63 <artifactId>animal-sniffer-maven-plugin</artifactId> 64 </plugin> 65 <plugin> 66 <artifactId>maven-javadoc-plugin</artifactId> 67 </plugin> 68 </plugins> 69 </build> 70</project> 71