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-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-compat-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 </dependency> 40 <dependency> 41 <groupId>org.easymock</groupId> 42 <artifactId>easymock</artifactId> 43 </dependency> 44 <dependency> 45 <groupId>org.mockito</groupId> 46 <artifactId>mockito-core</artifactId> 47 </dependency> 48 <dependency> 49 <groupId>com.google.truth</groupId> 50 <artifactId>truth</artifactId> 51 </dependency> 52 <dependency> 53 <groupId>com.google.jimfs</groupId> 54 <artifactId>jimfs</artifactId> 55 </dependency> 56 <dependency> 57 <groupId>com.google.caliper</groupId> 58 <artifactId>caliper</artifactId> 59 </dependency> 60 </dependencies> 61 <build> 62 <plugins> 63 <plugin> 64 <artifactId>maven-compiler-plugin</artifactId> 65 </plugin> 66 <plugin> 67 <artifactId>maven-source-plugin</artifactId> 68 <executions> 69 <execution> 70 <id>attach-test-sources</id> 71 <phase>post-integration-test</phase> 72 <goals><goal>test-jar</goal></goals> 73 </execution> 74 </executions> 75 </plugin> 76 <plugin> 77 <artifactId>maven-surefire-plugin</artifactId> 78 </plugin> 79 <plugin> 80 <artifactId>maven-jar-plugin</artifactId> 81 <executions> 82 <execution> 83 <id>default-jar</id> 84 <goals><goal>jar</goal></goals> 85 <configuration> 86 <skipIfEmpty>true</skipIfEmpty> 87 </configuration> 88 </execution> 89 <execution> 90 <id>create-test-jar</id> 91 <goals><goal>test-jar</goal></goals> 92 </execution> 93 </executions> 94 </plugin> 95 <plugin> 96 <artifactId>maven-deploy-plugin</artifactId> 97 <version>2.8.2</version> 98 <configuration> 99 <skip>true</skip> 100 </configuration> 101 </plugin> 102 <plugin> 103 <groupId>org.codehaus.mojo</groupId> 104 <artifactId>animal-sniffer-maven-plugin</artifactId> 105 </plugin> 106 <plugin> 107 <groupId>org.codehaus.mojo</groupId> 108 <artifactId>build-helper-maven-plugin</artifactId> 109 <version>1.7</version> 110 <executions> 111 <execution> 112 <id>add-benchmark-sources</id> 113 <phase>generate-test-sources</phase> 114 <goals><goal>add-test-source</goal></goals> 115 <configuration> 116 <sources> 117 <source>benchmark</source> 118 </sources> 119 </configuration> 120 </execution> 121 </executions> 122 </plugin> 123 </plugins> 124 </build> 125</project> 126