Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
2.3 KiB
70 lines
2.3 KiB
9 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
<parent>
|
||
|
<groupId>com.google.protobuf.compatibility</groupId>
|
||
|
<artifactId>compatibility-test-suite</artifactId>
|
||
|
<version>2.5.0</version>
|
||
|
<relativePath>..</relativePath>
|
||
|
</parent>
|
||
|
|
||
|
<groupId>com.google.protobuf.compatibility</groupId>
|
||
|
<artifactId>compatibility-more-protos</artifactId>
|
||
|
<version>2.5.0</version>
|
||
|
|
||
|
<name>More protos for Compatibility test</name>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>com.google.protobuf</groupId>
|
||
|
<artifactId>protobuf-java</artifactId>
|
||
|
<version>${more_protos.protobuf.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.google.protobuf.compatibility</groupId>
|
||
|
<artifactId>compatibility-protos</artifactId>
|
||
|
<version>2.5.0</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>3.3</version>
|
||
|
<configuration>
|
||
|
<source>1.6</source>
|
||
|
<target>1.6</target>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>generate-sources</id>
|
||
|
<phase>generate-sources</phase>
|
||
|
<configuration>
|
||
|
<tasks>
|
||
|
<mkdir dir="target/generated-sources" />
|
||
|
<exec executable="${more_protos.protoc.path}">
|
||
|
<arg value="--java_out=target/generated-sources" />
|
||
|
<arg value="--proto_path=src/proto" />
|
||
|
<arg value="src/proto/google/protobuf/unittest.proto" />
|
||
|
<arg value="src/proto/google/protobuf/unittest_optimize_for.proto" />
|
||
|
<arg value="src/proto/com/google/protobuf/multiple_files_test.proto" />
|
||
|
</exec>
|
||
|
</tasks>
|
||
|
<sourceRoot>target/generated-sources</sourceRoot>
|
||
|
</configuration>
|
||
|
<goals>
|
||
|
<goal>run</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</project>
|