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