kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject [1/3] kudu git commit: [java-client] update protoc maven plugin
Date Tue, 09 May 2017 20:55:20 GMT
Repository: kudu
Updated Branches:
  refs/heads/master ddd898106 -> 40aa4c3c2


[java-client] update protoc maven plugin

The current protoc maven plugin is not hosted on maven central
and the hosting domain is unavailable. It also has not been
updated since 2012.

It appears like the most current and maintained fork is
here: https://github.com/xolstice/protobuf-maven-plugin

Change-Id: I43167c298e5230cd6421fd992f712513f8801b5a
Reviewed-on: http://gerrit.cloudera.org:8080/6830
Tested-by: Kudu Jenkins
Reviewed-by: Dan Burkert <danburkert@apache.org>
Reviewed-by: David Ribeiro Alves <davidralves@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/17e24812
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/17e24812
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/17e24812

Branch: refs/heads/master
Commit: 17e24812c96d7e64bcb06b201d37b5a160672e05
Parents: ddd8981
Author: Grant Henke <granthenke@gmail.com>
Authored: Tue May 9 14:08:34 2017 -0500
Committer: David Ribeiro Alves <davidralves@gmail.com>
Committed: Tue May 9 19:55:23 2017 +0000

----------------------------------------------------------------------
 java/kudu-client/pom.xml | 22 +++++++++++-----------
 java/pom.xml             |  8 +-------
 2 files changed, 12 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/17e24812/java/kudu-client/pom.xml
----------------------------------------------------------------------
diff --git a/java/kudu-client/pom.xml b/java/kudu-client/pom.xml
index 2533bfe..af3d5b3 100644
--- a/java/kudu-client/pom.xml
+++ b/java/kudu-client/pom.xml
@@ -114,12 +114,12 @@
     <build>
         <plugins>
             <plugin>
-                <groupId>com.google.protobuf.tools</groupId>
-                <artifactId>maven-protoc-plugin</artifactId>
+                <groupId>org.xolstice.maven.plugins</groupId>
+                <artifactId>protobuf-maven-plugin</artifactId>
                 <version>${maven-protoc-plugin.version}</version>
                 <configuration>
                     <!-- Documented at:
-                         http://sergei-ivanov.github.io/maven-protoc-plugin/compile-mojo.html
-->
+                         https://www.xolstice.org/protobuf-maven-plugin/usage.html -->
                     <checkStaleness>true</checkStaleness>
                     <protoSourceRoot>${project.basedir}/../../src</protoSourceRoot>
                     <excludes>
@@ -296,8 +296,8 @@
                     </pluginExecution>
                     <pluginExecution>
                       <pluginExecutionFilter>
-                        <groupId>com.google.protobuf.tools</groupId>
-                        <artifactId>maven-protoc-plugin</artifactId>
+                        <groupId>org.xolstice.maven.plugins</groupId>
+                        <artifactId>protobuf-maven-plugin</artifactId>
                         <versionRange>[${maven-protoc-plugin.version},)</versionRange>
                         <goals>
                           <goal>compile</goal>
@@ -338,8 +338,8 @@
         <build>
           <plugins>
             <plugin>
-              <groupId>com.google.protobuf.tools</groupId>
-              <artifactId>maven-protoc-plugin</artifactId>
+              <groupId>org.xolstice.maven.plugins</groupId>
+              <artifactId>protobuf-maven-plugin</artifactId>
               <version>${maven-protoc-plugin.version}</version>
               <configuration>
                 <protocExecutable>
@@ -365,8 +365,8 @@
         <build>
           <plugins>
             <plugin>
-              <groupId>com.google.protobuf.tools</groupId>
-              <artifactId>maven-protoc-plugin</artifactId>
+              <groupId>org.xolstice.maven.plugins</groupId>
+              <artifactId>protobuf-maven-plugin</artifactId>
               <version>${maven-protoc-plugin.version}</version>
               <configuration>
                 <protocExecutable>
@@ -390,8 +390,8 @@
         <build>
           <plugins>
             <plugin>
-              <groupId>com.google.protobuf.tools</groupId>
-              <artifactId>maven-protoc-plugin</artifactId>
+              <groupId>org.xolstice.maven.plugins</groupId>
+              <artifactId>protobuf-maven-plugin</artifactId>
               <version>${maven-protoc-plugin.version}</version>
               <configuration>
                 <protocExecutable>protoc</protocExecutable>

http://git-wip-us.apache.org/repos/asf/kudu/blob/17e24812/java/pom.xml
----------------------------------------------------------------------
diff --git a/java/pom.xml b/java/pom.xml
index bc0c46d..e9fb3d9 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -52,7 +52,7 @@
         <maven-assembly-plugin.version>2.6</maven-assembly-plugin.version>
         <maven-enforcer-plugin.version>1.4</maven-enforcer-plugin.version>
         <maven-failsafe-plugin.version>2.18</maven-failsafe-plugin.version>
-        <maven-protoc-plugin.version>0.1.10</maven-protoc-plugin.version>
+        <maven-protoc-plugin.version>0.5.0</maven-protoc-plugin.version>
         <maven-shade-plugin.version>2.4</maven-shade-plugin.version>
         <maven-surefire-plugin.version>2.18</maven-surefire-plugin.version>
         <schema-validator-maven-plugin.version>5.5.3</schema-validator-maven-plugin.version>
@@ -277,12 +277,6 @@
     </build>
 
     <pluginRepositories>
-        <!-- For maven-protoc-plugin -->
-        <pluginRepository>
-            <id>protoc-plugin</id>
-            <url>http://maven.davidtrott.com/repository</url>
-            <name>Protoc Plugin Repository</name>
-        </pluginRepository>
         <!-- For schema-validator-maven-plugin -->
         <pluginRepository>
             <id>schema-validator-maven-plugin</id>


Mime
View raw message