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>18.0</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>junit</groupId> 30 <artifactId>junit</artifactId> 31 </dependency> 32 <dependency> 33 <groupId>org.easymock</groupId> 34 <artifactId>easymock</artifactId> 35 </dependency> 36 <dependency> 37 <groupId>org.mockito</groupId> 38 <artifactId>mockito-core</artifactId> 39 </dependency> 40 <dependency> 41 <groupId>com.google.truth</groupId> 42 <artifactId>truth</artifactId> 43 </dependency> 44 <dependency> 45 <groupId>com.google.caliper</groupId> 46 <artifactId>caliper</artifactId> 47 </dependency> 48 </dependencies> 49 <build> 50 <plugins> 51 <plugin> 52 <artifactId>maven-compiler-plugin</artifactId> 53 </plugin> 54 <plugin> 55 <artifactId>maven-source-plugin</artifactId> 56 <executions> 57 <execution> 58 <id>attach-test-sources</id> 59 <phase>post-integration-test</phase> 60 <goals><goal>test-jar</goal></goals> 61 </execution> 62 </executions> 63 </plugin> 64 <plugin> 65 <artifactId>maven-surefire-plugin</artifactId> 66 </plugin> 67 <plugin> 68 <artifactId>maven-jar-plugin</artifactId> 69 <version>2.3.1</version> 70 <executions> 71 <execution> 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 <!-- TODO(cpovirk): reenable after a matching Caliper snapshot is pushed to Maven Central 81 <plugin> 82 <groupId>org.codehaus.mojo</groupId> 83 <artifactId>build-helper-maven-plugin</artifactId> 84 <version>1.7</version> 85 <executions> 86 <execution> 87 <id>add-benchmark-sources</id> 88 <phase>generate-test-sources</phase> 89 <goals><goal>add-test-source</goal></goals> 90 <configuration> 91 <sources> 92 <source>benchmark</source> 93 </sources> 94 </configuration> 95 </execution> 96 </executions> 97 </plugin> 98 --> 99 </plugins> 100 </build> 101 </project> 102