xref: /aosp_15_r20/external/guava/android/guava-testlib/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-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>org.checkerframework</groupId>
23      <artifactId>checker-qual</artifactId>
24    </dependency>
25    <dependency>
26      <groupId>com.google.errorprone</groupId>
27      <artifactId>error_prone_annotations</artifactId>
28    </dependency>
29    <dependency>
30      <groupId>com.google.j2objc</groupId>
31      <artifactId>j2objc-annotations</artifactId>
32    </dependency>
33    <dependency>
34      <groupId>${project.groupId}</groupId>
35      <artifactId>guava</artifactId>
36      <version>${project.version}</version>
37    </dependency>
38    <dependency>
39      <groupId>junit</groupId>
40      <artifactId>junit</artifactId>
41      <!-- *not* <scope>test</scope>; <scope>compile</scope> is right so that guava-testlib users get junit transitively. -->
42      <version>4.13.2</version>
43    </dependency>
44    <dependency>
45      <!--
46      Do not include Truth in non-test scope! Doing so creates a problematic dependency cycle.
47      -->
48      <groupId>com.google.truth</groupId>
49      <artifactId>truth</artifactId>
50      <version>${truth.version}</version>
51      <scope>test</scope>
52      <exclusions>
53        <exclusion>
54          <!-- use the guava we're building. -->
55          <groupId>com.google.guava</groupId>
56          <artifactId>guava</artifactId>
57        </exclusion>
58      </exclusions>
59    </dependency>
60  </dependencies>
61  <build>
62    <plugins>
63      <plugin>
64        <groupId>org.mvnsearch</groupId>
65        <artifactId>toolchains-maven-plugin</artifactId>
66      </plugin>
67      <plugin>
68        <artifactId>maven-toolchains-plugin</artifactId>
69      </plugin>
70      <plugin>
71        <artifactId>maven-compiler-plugin</artifactId>
72      </plugin>
73      <plugin>
74        <artifactId>maven-source-plugin</artifactId>
75        <executions>
76          <execution>
77            <id>attach-test-sources</id>
78            <phase>post-integration-test</phase>
79            <goals><goal>test-jar</goal></goals>
80          </execution>
81        </executions>
82      </plugin>
83      <plugin>
84        <artifactId>maven-jar-plugin</artifactId>
85        <executions>
86          <execution>
87            <id>create-test-jar</id>
88            <goals><goal>test-jar</goal></goals>
89          </execution>
90        </executions>
91      </plugin>
92      <plugin>
93        <groupId>org.codehaus.mojo</groupId>
94        <artifactId>animal-sniffer-maven-plugin</artifactId>
95      </plugin>
96      <plugin>
97        <artifactId>maven-javadoc-plugin</artifactId>
98      </plugin>
99      <plugin>
100        <artifactId>maven-surefire-plugin</artifactId>
101      </plugin>
102    </plugins>
103  </build>
104</project>
105