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>32.1.2-android</version> 9 </parent> 10 <artifactId>guava-tests</artifactId> 11 <name>Guava Unit Tests</name> 12 <description> 13 The unit tests for the Guava libraries - separated into a 14 separate artifact to allow for the testlibs to depend on guava 15 itself. 16 </description> 17 <dependencies> 18 <dependency> 19 <groupId>${project.groupId}</groupId> 20 <artifactId>guava-testlib</artifactId> 21 <version>${project.version}</version> 22 <scope>test</scope> 23 </dependency> 24 <dependency> 25 <groupId>com.google.code.findbugs</groupId> 26 <artifactId>jsr305</artifactId> 27 </dependency> 28 <dependency> 29 <groupId>org.checkerframework</groupId> 30 <artifactId>checker-qual</artifactId> 31 </dependency> 32 <dependency> 33 <groupId>com.google.errorprone</groupId> 34 <artifactId>error_prone_annotations</artifactId> 35 </dependency> 36 <dependency> 37 <groupId>junit</groupId> 38 <artifactId>junit</artifactId> 39 <version>4.13.2</version> 40 <scope>test</scope> 41 </dependency> 42 <dependency> 43 <groupId>org.mockito</groupId> 44 <artifactId>mockito-core</artifactId> 45 <version>4.11.0</version> 46 <scope>test</scope> 47 </dependency> 48 <dependency> 49 <groupId>com.google.truth</groupId> 50 <artifactId>truth</artifactId> 51 <version>${truth.version}</version> 52 <scope>test</scope> 53 </dependency> 54 <dependency> 55 <groupId>com.google.jimfs</groupId> 56 <artifactId>jimfs</artifactId> 57 <version>1.3.0</version> 58 <scope>test</scope> 59 </dependency> 60 <dependency> 61 <groupId>com.google.caliper</groupId> 62 <artifactId>caliper</artifactId> 63 <version>1.0-beta-3</version> 64 <scope>test</scope> 65 </dependency> 66 </dependencies> 67 <build> 68 <plugins> 69 <plugin> 70 <artifactId>maven-compiler-plugin</artifactId> 71 </plugin> 72 <plugin> 73 <artifactId>maven-source-plugin</artifactId> 74 <executions> 75 <execution> 76 <id>attach-test-sources</id> 77 <phase>post-integration-test</phase> 78 <goals><goal>test-jar</goal></goals> 79 </execution> 80 </executions> 81 </plugin> 82 <plugin> 83 <artifactId>maven-surefire-plugin</artifactId> 84 </plugin> 85 <plugin> 86 <artifactId>maven-jar-plugin</artifactId> 87 <executions> 88 <execution> 89 <id>create-test-jar</id> 90 <goals><goal>test-jar</goal></goals> 91 </execution> 92 </executions> 93 </plugin> 94 <plugin> 95 <artifactId>maven-deploy-plugin</artifactId> 96 <version>2.8.2</version> 97 <configuration> 98 <skip>true</skip> 99 </configuration> 100 </plugin> 101 <plugin> 102 <groupId>org.codehaus.mojo</groupId> 103 <artifactId>animal-sniffer-maven-plugin</artifactId> 104 <configuration> 105 <checkTestClasses>false</checkTestClasses> <!-- TODO(cpovirk): Consider checking them. --> 106 </configuration> 107 </plugin> 108 <plugin> 109 <groupId>org.codehaus.mojo</groupId> 110 <artifactId>build-helper-maven-plugin</artifactId> 111 <version>1.7</version> 112 <executions> 113 <execution> 114 <id>add-benchmark-sources</id> 115 <phase>generate-test-sources</phase> 116 <goals><goal>add-test-source</goal></goals> 117 <configuration> 118 <sources> 119 <source>benchmark</source> 120 </sources> 121 </configuration> 122 </execution> 123 </executions> 124 </plugin> 125 </plugins> 126 </build> 127</project> 128