• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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-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      <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.truth.extensions</groupId>
56      <artifactId>truth-java8-extension</artifactId>
57      <version>${truth.version}</version>
58      <scope>test</scope>
59    </dependency>
60    <dependency>
61      <groupId>com.google.jimfs</groupId>
62      <artifactId>jimfs</artifactId>
63      <version>1.3.0</version>
64      <scope>test</scope>
65    </dependency>
66    <dependency>
67      <groupId>com.google.caliper</groupId>
68      <artifactId>caliper</artifactId>
69      <version>1.0-beta-3</version>
70      <scope>test</scope>
71    </dependency>
72  </dependencies>
73  <build>
74    <plugins>
75      <plugin>
76        <artifactId>maven-compiler-plugin</artifactId>
77      </plugin>
78      <plugin>
79        <artifactId>maven-source-plugin</artifactId>
80        <executions>
81          <execution>
82            <id>attach-test-sources</id>
83            <phase>post-integration-test</phase>
84            <goals><goal>test-jar</goal></goals>
85          </execution>
86        </executions>
87      </plugin>
88      <plugin>
89        <artifactId>maven-surefire-plugin</artifactId>
90      </plugin>
91      <plugin>
92        <artifactId>maven-jar-plugin</artifactId>
93        <executions>
94          <execution>
95            <id>create-test-jar</id>
96            <goals><goal>test-jar</goal></goals>
97          </execution>
98        </executions>
99      </plugin>
100      <plugin>
101        <artifactId>maven-deploy-plugin</artifactId>
102        <version>2.8.2</version>
103        <configuration>
104          <skip>true</skip>
105        </configuration>
106      </plugin>
107      <plugin>
108        <groupId>org.codehaus.mojo</groupId>
109        <artifactId>animal-sniffer-maven-plugin</artifactId>
110        <configuration>
111          <checkTestClasses>false</checkTestClasses> <!-- TODO(cpovirk): Consider checking them. -->
112        </configuration>
113      </plugin>
114      <plugin>
115        <groupId>org.codehaus.mojo</groupId>
116        <artifactId>build-helper-maven-plugin</artifactId>
117        <version>1.7</version>
118        <executions>
119          <execution>
120            <id>add-benchmark-sources</id>
121            <phase>generate-test-sources</phase>
122            <goals><goal>add-test-source</goal></goals>
123            <configuration>
124              <sources>
125                <source>benchmark</source>
126              </sources>
127            </configuration>
128          </execution>
129        </executions>
130      </plugin>
131    </plugins>
132  </build>
133</project>
134