xref: /aosp_15_r20/external/truth/extensions/java8/pom.xml (revision b3996a89512f34bffd8f9a69f0bc726f1b19016a)
1<?xml version="1.0" encoding="UTF-8"?>
2<project
3    xmlns="http://maven.apache.org/POM/4.0.0"
4    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
6  <modelVersion>4.0.0</modelVersion>
7  <parent>
8    <groupId>com.google.truth.extensions</groupId>
9    <artifactId>truth-extensions-parent</artifactId>
10    <version>HEAD-SNAPSHOT</version>
11  </parent>
12  <artifactId>truth-java8-extension</artifactId>
13  <name>Obsolete Truth Extension for Java8</name>
14  <description>
15    Obsolete, empty artifact that merely pulls in the main `truth` artifact: Assertions for Java 8 types are now part of that main artifact.
16  </description>
17  <dependencies>
18    <dependency>
19      <groupId>com.google.truth</groupId>
20      <artifactId>truth</artifactId>
21    </dependency>
22  </dependencies>
23  <build>
24    <resources>
25      <resource>
26        <directory>../..</directory>
27        <includes>
28          <include>LICENSE</include>
29        </includes>
30        <targetPath>META-INF</targetPath>
31      </resource>
32    </resources>
33    <plugins>
34      <plugin>
35        <artifactId>maven-javadoc-plugin</artifactId>
36      </plugin>
37      <plugin>
38        <artifactId>maven-compiler-plugin</artifactId>
39      </plugin>
40      <plugin>
41        <artifactId>maven-jar-plugin</artifactId>
42        <executions>
43          <execution>
44            <id>attach-gwt-sources</id>
45            <phase>post-integration-test</phase>
46            <goals><goal>jar</goal></goals>
47            <configuration>
48              <classifier>gwt</classifier>
49              <classesDirectory>src/main/java</classesDirectory>
50              <includes>
51                <include>**/*.java</include>
52                <include>**/*.gwt.xml</include>
53              </includes>
54            </configuration>
55          </execution>
56        </executions>
57      </plugin>
58    </plugins>
59  </build>
60</project>
61
62
63