1<?xml version="1.0" encoding="UTF-8"?> 2<project xmlns="http://maven.apache.org/POM/4.0.0" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 5 <modelVersion>4.0.0</modelVersion> 6 <parent> 7 <groupId>com.google.protobuf.compatibility</groupId> 8 <artifactId>compatibility-test-suite</artifactId> 9 <version>2.5.0</version> 10 <relativePath>..</relativePath> 11 </parent> 12 13 <groupId>com.google.protobuf.compatibility</groupId> 14 <artifactId>compatibility-more-protos</artifactId> 15 <version>2.5.0</version> 16 17 <name>More protos for Compatibility test</name> 18 19 <dependencies> 20 <dependency> 21 <groupId>com.google.protobuf</groupId> 22 <artifactId>protobuf-java</artifactId> 23 <version>${more_protos.protobuf.version}</version> 24 </dependency> 25 <dependency> 26 <groupId>com.google.protobuf.compatibility</groupId> 27 <artifactId>compatibility-protos</artifactId> 28 <version>2.5.0</version> 29 </dependency> 30 </dependencies> 31 32 <build> 33 <plugins> 34 <plugin> 35 <artifactId>maven-compiler-plugin</artifactId> 36 <version>3.3</version> 37 <configuration> 38 <source>1.6</source> 39 <target>1.6</target> 40 </configuration> 41 </plugin> 42 <plugin> 43 <artifactId>maven-antrun-plugin</artifactId> 44 <executions> 45 <execution> 46 <id>generate-sources</id> 47 <phase>generate-sources</phase> 48 <configuration> 49 <tasks> 50 <mkdir dir="target/generated-sources" /> 51 <exec executable="${more_protos.protoc.path}"> 52 <arg value="--java_out=target/generated-sources" /> 53 <arg value="--proto_path=src/proto" /> 54 <arg value="src/proto/google/protobuf/unittest.proto" /> 55 <arg value="src/proto/google/protobuf/unittest_optimize_for.proto" /> 56 <arg value="src/proto/com/google/protobuf/multiple_files_test.proto" /> 57 </exec> 58 </tasks> 59 <sourceRoot>target/generated-sources</sourceRoot> 60 </configuration> 61 <goals> 62 <goal>run</goal> 63 </goals> 64 </execution> 65 </executions> 66 </plugin> 67 </plugins> 68 </build> 69</project> 70