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 <groupId>org.mvnsearch</groupId> 71 <artifactId>toolchains-maven-plugin</artifactId> 72 </plugin> 73 <plugin> 74 <artifactId>maven-toolchains-plugin</artifactId> 75 </plugin> 76 <plugin> 77 <artifactId>maven-compiler-plugin</artifactId> 78 </plugin> 79 <plugin> 80 <artifactId>maven-source-plugin</artifactId> 81 <executions> 82 <execution> 83 <id>attach-test-sources</id> 84 <phase>post-integration-test</phase> 85 <goals><goal>test-jar</goal></goals> 86 </execution> 87 </executions> 88 </plugin> 89 <plugin> 90 <artifactId>maven-surefire-plugin</artifactId> 91 </plugin> 92 <plugin> 93 <artifactId>maven-jar-plugin</artifactId> 94 <executions> 95 <execution> 96 <id>create-test-jar</id> 97 <goals><goal>test-jar</goal></goals> 98 </execution> 99 </executions> 100 </plugin> 101 <plugin> 102 <artifactId>maven-deploy-plugin</artifactId> 103 <version>2.8.2</version> 104 <configuration> 105 <skip>true</skip> 106 </configuration> 107 </plugin> 108 <plugin> 109 <groupId>org.codehaus.mojo</groupId> 110 <artifactId>animal-sniffer-maven-plugin</artifactId> 111 <configuration> 112 <checkTestClasses>false</checkTestClasses> <!-- TODO(cpovirk): Consider checking them. --> 113 </configuration> 114 </plugin> 115 <plugin> 116 <groupId>org.codehaus.mojo</groupId> 117 <artifactId>build-helper-maven-plugin</artifactId> 118 <version>1.7</version> 119 <executions> 120 <execution> 121 <id>add-benchmark-sources</id> 122 <phase>generate-test-sources</phase> 123 <goals><goal>add-test-source</goal></goals> 124 <configuration> 125 <sources> 126 <source>benchmark</source> 127 </sources> 128 </configuration> 129 </execution> 130 </executions> 131 </plugin> 132 </plugins> 133 </build> 134</project> 135