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>30.0-android</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>org.checkerframework</groupId> 23 <artifactId>checker-compat-qual</artifactId> 24 </dependency> 25 <dependency> 26 <groupId>com.google.errorprone</groupId> 27 <artifactId>error_prone_annotations</artifactId> 28 </dependency> 29 <dependency> 30 <groupId>com.google.j2objc</groupId> 31 <artifactId>j2objc-annotations</artifactId> 32 </dependency> 33 <dependency> 34 <groupId>${project.groupId}</groupId> 35 <artifactId>guava</artifactId> 36 <version>${project.version}</version> 37 </dependency> 38 <dependency> 39 <groupId>junit</groupId> 40 <artifactId>junit</artifactId> 41 <scope>compile</scope><!-- testlib must carry these transitively --> 42 </dependency> 43 <dependency> 44 <!-- 45 Do not include Truth in non-test scope! Doing so creates a problematic dependency cycle. 46 --> 47 <groupId>com.google.truth</groupId> 48 <artifactId>truth</artifactId> 49 <scope>test</scope> 50 </dependency> 51 </dependencies> 52 <build> 53 <plugins> 54 <plugin> 55 <artifactId>maven-compiler-plugin</artifactId> 56 </plugin> 57 <plugin> 58 <artifactId>maven-source-plugin</artifactId> 59 <executions> 60 <execution> 61 <id>attach-test-sources</id> 62 <phase>post-integration-test</phase> 63 <goals><goal>test-jar</goal></goals> 64 </execution> 65 </executions> 66 </plugin> 67 <plugin> 68 <artifactId>maven-jar-plugin</artifactId> 69 <executions> 70 <execution> 71 <id>create-test-jar</id> 72 <goals><goal>test-jar</goal></goals> 73 </execution> 74 </executions> 75 </plugin> 76 <plugin> 77 <groupId>org.codehaus.mojo</groupId> 78 <artifactId>animal-sniffer-maven-plugin</artifactId> 79 </plugin> 80 <plugin> 81 <artifactId>maven-javadoc-plugin</artifactId> 82 </plugin> 83 <plugin> 84 <artifactId>maven-surefire-plugin</artifactId> 85 </plugin> 86 </plugins> 87 </build> 88</project> 89