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