You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by jd...@apache.org on 2017/07/05 16:52:06 UTC

kudu git commit: [java-client] update protoc maven plugin

Repository: kudu
Updated Branches:
  refs/heads/branch-1.2.x 3955445ad -> 36eff644b


[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 <da...@apache.org>
Reviewed-by: David Ribeiro Alves <da...@gmail.com>
Reviewed-on: http://gerrit.cloudera.org:8080/7070
Reviewed-by: Jean-Daniel Cryans <jd...@apache.org>
Reviewed-on: http://gerrit.cloudera.org:8080/7345
Reviewed-by: Todd Lipcon <to...@apache.org>
Reviewed-by: Grant Henke <gr...@gmail.com>
Reviewed-by: Will Berkeley <wd...@gmail.com>


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

Branch: refs/heads/branch-1.2.x
Commit: 36eff644b0d374a5f0f0dabf8994cdd3142bc261
Parents: 3955445
Author: Grant Henke <gr...@gmail.com>
Authored: Tue May 9 14:08:34 2017 -0500
Committer: Jean-Daniel Cryans <jd...@apache.org>
Committed: Wed Jul 5 16:51:22 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/36eff644/java/kudu-client/pom.xml
----------------------------------------------------------------------
diff --git a/java/kudu-client/pom.xml b/java/kudu-client/pom.xml
index 41882a9..7c20a0e 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/36eff644/java/pom.xml
----------------------------------------------------------------------
diff --git a/java/pom.xml b/java/pom.xml
index dd4eeef..945791a 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -51,7 +51,7 @@
         <maven-antrun-plugin.version>1.7</maven-antrun-plugin.version>
         <maven-assembly-plugin.version>2.6</maven-assembly-plugin.version>
         <maven-enforcer-plugin.version>1.4</maven-enforcer-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-surefire-plugin.version>2.18</maven-surefire-plugin.version>
         <maven-failsafe-plugin.version>2.18</maven-failsafe-plugin.version>
         <schema-validator-maven-plugin.version>5.5.3</schema-validator-maven-plugin.version>
@@ -269,12 +269,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>