Remove maven support. Not used. (#116)

pull/118/head
Bogdan Drutu 6 years ago committed by GitHub
parent a74b002d33
commit d22fd70f04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      .travis.yml
  2. 87
      pom.xml

@ -3,10 +3,6 @@ dist: trusty
matrix:
include:
- language: java
jdk: oraclejdk8
env: BUILD=MVN
- language: java
jdk: oraclejdk8
env: BUILD=BAZEL
@ -28,14 +24,6 @@ install:
"BAZEL")
sudo apt-get install bazel ;
bazel version;;
"MVN")
mkdir protoc ;
cd protoc ;
curl -L -o protoc.zip https://github.com/google/protobuf/releases/download/v3.0.2/protoc-3.0.2-linux-x86_64.zip ;
unzip protoc.zip ;
export PATH=`pwd`/bin/:$PATH ;
protoc --version ;
cd .. ;;
esac
script:
@ -43,8 +31,6 @@ script:
"BAZEL")
cd src;
bazel build --show_result=100 ... ;;
"MVN")
mvn verify ;;
"GRADLE")
./gradlew clean assemble --stacktrace ;
./gradlew check --stacktrace ;;

@ -1,87 +0,0 @@
<?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>
Loading…
Cancel
Save