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