• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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-proto-extension</artifactId>
13  <name>Truth Extension for Protocol Buffers</name>
14  <description>
15    An extension for the Truth test assertion framework supporting
16    Protocol Buffers.
17  </description>
18  <dependencies>
19    <dependency>
20      <groupId>com.google.truth</groupId>
21      <artifactId>truth</artifactId>
22    </dependency>
23    <dependency>
24      <groupId>com.google.truth.extensions</groupId>
25      <artifactId>truth-liteproto-extension</artifactId>
26    </dependency>
27    <dependency>
28      <groupId>com.google.guava</groupId>
29      <artifactId>guava</artifactId>
30    </dependency>
31    <dependency>
32      <groupId>org.checkerframework</groupId>
33      <artifactId>checker-qual</artifactId>
34    </dependency>
35    <dependency>
36      <groupId>com.google.auto.value</groupId>
37      <artifactId>auto-value-annotations</artifactId>
38    </dependency>
39    <dependency>
40      <groupId>com.google.errorprone</groupId>
41      <artifactId>error_prone_annotations</artifactId>
42    </dependency>
43    <dependency>
44      <groupId>com.google.protobuf</groupId>
45      <artifactId>protobuf-java</artifactId>
46    </dependency>
47  </dependencies>
48  <build>
49    <extensions>
50      <extension>
51        <groupId>kr.motd.maven</groupId>
52        <artifactId>os-maven-plugin</artifactId>
53        <version>${os-maven-plugin.version}</version>
54      </extension>
55    </extensions>
56
57    <plugins>
58      <plugin>
59        <artifactId>maven-javadoc-plugin</artifactId>
60      </plugin>
61      <plugin>
62        <groupId>org.xolstice.maven.plugins</groupId>
63        <artifactId>protobuf-maven-plugin</artifactId>
64        <configuration>
65          <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
66          <includes>
67            <param>test_message2.proto</param>
68            <param>test_message3.proto</param>
69          </includes>
70        </configuration>
71        <executions>
72          <execution>
73            <id>build-test-protos</id>
74            <phase>generate-test-sources</phase>
75            <goals>
76              <goal>test-compile</goal>
77            </goals>
78          </execution>
79        </executions>
80      </plugin>
81      <plugin>
82        <artifactId>maven-compiler-plugin</artifactId>
83        <configuration>
84          <annotationProcessorPaths>
85            <path>
86              <groupId>com.google.auto.value</groupId>
87              <artifactId>auto-value</artifactId>
88              <version>${auto-value.version}</version>
89            </path>
90          </annotationProcessorPaths>
91        </configuration>
92      </plugin>
93    </plugins>
94  </build>
95</project>
96
97
98