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.
87 lines
3.0 KiB
87 lines
3.0 KiB
<?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> |
|
|
|
<groupId>io.opencensus</groupId> |
|
<artifactId>opencensus-proto</artifactId> |
|
<version>0.0.3-SNAPSHOT</version> |
|
|
|
<name>OpenCensus Proto</name> |
|
|
|
<description> |
|
OpenCensus - A stats collection and distributed tracing framework |
|
</description> |
|
<url>https://github.com/census-instrumentation/opencensus-proto</url> |
|
|
|
<licenses> |
|
<license> |
|
<name>The Apache Software License, Version 2.0</name> |
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
|
<distribution>repo</distribution> |
|
</license> |
|
</licenses> |
|
|
|
<properties> |
|
<!-- for dynamically installing protoc --> |
|
<grpc.version>1.10.0</grpc.version> |
|
<protobuf.version>3.5.1</protobuf.version> |
|
</properties> |
|
|
|
<build> |
|
<extensions> |
|
<extension> |
|
<groupId>kr.motd.maven</groupId> |
|
<artifactId>os-maven-plugin</artifactId> |
|
<version>1.5.0.Final</version> |
|
</extension> |
|
</extensions> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.xolstice.maven.plugins</groupId> |
|
<artifactId>protobuf-maven-plugin</artifactId> |
|
<version>0.5.0</version> |
|
<configuration> |
|
<!-- |
|
The version of protoc must match protobuf-java. If you don't depend on |
|
protobuf-java directly, you will be transitively depending on the |
|
protobuf-java version that grpc depends on. |
|
--> |
|
<protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact> |
|
<pluginId>grpc-java</pluginId> |
|
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact> |
|
<protoSourceRoot>.</protoSourceRoot> |
|
<includes> |
|
<include>src/opencensus/proto/agent/*.proto</include> |
|
<include>src/opencensus/proto/exporter/*.proto</include> |
|
<include>src/opencensus/proto/stats/*.proto</include> |
|
<include>src/opencensus/proto/metrics/*.proto</include> |
|
<include>src/opencensus/proto/trace/*.proto</include> |
|
</includes> |
|
</configuration> |
|
<executions> |
|
<execution> |
|
<goals> |
|
<goal>compile</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<artifactId>maven-compiler-plugin</artifactId> |
|
<version>3.6.1</version> |
|
<configuration> |
|
<source>1.6</source> |
|
<target>1.6</target> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
<dependencies> |
|
<dependency> |
|
<groupId>com.google.protobuf</groupId> |
|
<artifactId>protobuf-java</artifactId> |
|
<version>${protobuf.version}</version> |
|
</dependency> |
|
</dependencies> |
|
</project>
|
|
|