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 <resources> 50 <resource> 51 <directory>../..</directory> 52 <includes> 53 <include>LICENSE</include> 54 </includes> 55 <targetPath>META-INF</targetPath> 56 </resource> 57 </resources> 58 <extensions> 59 <extension> 60 <groupId>kr.motd.maven</groupId> 61 <artifactId>os-maven-plugin</artifactId> 62 <version>${os-maven-plugin.version}</version> 63 </extension> 64 </extensions> 65 66 <plugins> 67 <plugin> 68 <artifactId>maven-javadoc-plugin</artifactId> 69 </plugin> 70 <plugin> 71 <groupId>org.xolstice.maven.plugins</groupId> 72 <artifactId>protobuf-maven-plugin</artifactId> 73 <configuration> 74 <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact> 75 <includes> 76 <param>test_message2.proto</param> 77 <param>test_message3.proto</param> 78 </includes> 79 </configuration> 80 <executions> 81 <execution> 82 <id>build-test-protos</id> 83 <phase>generate-test-sources</phase> 84 <goals> 85 <goal>test-compile</goal> 86 </goals> 87 </execution> 88 </executions> 89 </plugin> 90 <plugin> 91 <artifactId>maven-compiler-plugin</artifactId> 92 <configuration> 93 <annotationProcessorPaths> 94 <path> 95 <groupId>com.google.auto.value</groupId> 96 <artifactId>auto-value</artifactId> 97 <version>${auto-value.version}</version> 98 </path> 99 </annotationProcessorPaths> 100 </configuration> 101 </plugin> 102 </plugins> 103 </build> 104</project> 105 106 107