Repository: kudu Updated Branches: refs/heads/branch-1.3.x a1234c05a -> 713703ea1
[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 <[email protected]> Reviewed-by: David Ribeiro Alves <[email protected]> Reviewed-on: http://gerrit.cloudera.org:8080/7070 Reviewed-by: Jean-Daniel Cryans <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/kudu/repo Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/713703ea Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/713703ea Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/713703ea Branch: refs/heads/branch-1.3.x Commit: 713703ea12e9b165d2d6f0be8e458756ef2bb501 Parents: a1234c0 Author: Grant Henke <[email protected]> Authored: Tue May 9 14:08:34 2017 -0500 Committer: Dan Burkert <[email protected]> Committed: Mon Jun 5 17:31:36 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/713703ea/java/kudu-client/pom.xml ---------------------------------------------------------------------- diff --git a/java/kudu-client/pom.xml b/java/kudu-client/pom.xml index 0c48082..0782446 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/713703ea/java/pom.xml ---------------------------------------------------------------------- diff --git a/java/pom.xml b/java/pom.xml index 20f5083..b9e371b 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> @@ -272,12 +272,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>
