• 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-testlib</artifactId>
11  <name>Guava Testing Library</name>
12  <description>
13    Guava testlib is a set of java classes used for more convenient
14    unit testing - particularly to assist the tests for Guava itself.
15  </description>
16  <dependencies>
17    <dependency>
18      <groupId>com.google.code.findbugs</groupId>
19      <artifactId>jsr305</artifactId>
20    </dependency>
21    <dependency>
22      <groupId>com.google.errorprone</groupId>
23      <artifactId>error_prone_annotations</artifactId>
24    </dependency>
25    <dependency>
26      <groupId>com.google.j2objc</groupId>
27      <artifactId>j2objc-annotations</artifactId>
28    </dependency>
29    <dependency>
30      <groupId>${project.groupId}</groupId>
31      <artifactId>guava</artifactId>
32      <version>${project.version}</version>
33    </dependency>
34    <dependency>
35      <groupId>junit</groupId>
36      <artifactId>junit</artifactId>
37      <scope>compile</scope><!-- testlib must carry these transitively -->
38    </dependency>
39    <dependency>
40      <!--
41      Do not include Truth in non-test scope! Doing so creates a problematic dependency cycle.
42      -->
43      <groupId>com.google.truth</groupId>
44      <artifactId>truth</artifactId>
45      <scope>test</scope>
46    </dependency>
47  </dependencies>
48  <build>
49    <plugins>
50      <plugin>
51        <artifactId>maven-compiler-plugin</artifactId>
52      </plugin>
53      <plugin>
54        <artifactId>maven-source-plugin</artifactId>
55        <executions>
56          <execution>
57            <id>attach-test-sources</id>
58            <phase>post-integration-test</phase>
59            <goals><goal>test-jar</goal></goals>
60          </execution>
61        </executions>
62      </plugin>
63      <plugin>
64        <artifactId>maven-jar-plugin</artifactId>
65        <executions>
66          <execution>
67            <id>create-test-jar</id>
68            <goals><goal>test-jar</goal></goals>
69          </execution>
70        </executions>
71      </plugin>
72      <plugin>
73        <groupId>org.codehaus.mojo</groupId>
74        <artifactId>animal-sniffer-maven-plugin</artifactId>
75      </plugin>
76      <plugin>
77        <artifactId>maven-javadoc-plugin</artifactId>
78      </plugin>
79      <plugin>
80        <artifactId>maven-surefire-plugin</artifactId>
81      </plugin>
82    </plugins>
83  </build>
84</project>
85