kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From granthe...@apache.org
Subject [5/5] kudu git commit: [Java] Remove the Maven Build
Date Tue, 16 Oct 2018 19:56:29 GMT
[Java] Remove the Maven Build

This patch removes the Maven poms and remaining
references to the Maven build. Going forward the
Gradle build will be used.

Change-Id: If3c1b6b5bc2218a6285bde10d9ab7e1d9013a023
Reviewed-on: http://gerrit.cloudera.org:8080/11667
Reviewed-by: Dan Burkert <danburkert@apache.org>
Tested-by: Kudu Jenkins


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

Branch: refs/heads/master
Commit: 8c184e2a972729cbb026b6962d6bf558b86e9cf5
Parents: acf1dee
Author: Grant Henke <granthenke@apache.org>
Authored: Fri Oct 12 10:54:57 2018 -0500
Committer: Grant Henke <granthenke@apache.org>
Committed: Tue Oct 16 19:55:53 2018 +0000

----------------------------------------------------------------------
 RELEASING.adoc                            |   7 -
 build-support/jenkins/build-and-test.sh   | 119 +++-----
 build-support/jenkins/post-build-clean.sh |   2 +-
 docs/developing.adoc                      |   4 +-
 docs/installation.adoc                    |   3 +-
 docs/support/scripts/make_site.sh         |   8 +-
 java/README.adoc                          |  29 --
 java/kudu-backup/pom.xml                  | 338 -----------------------
 java/kudu-client-tools/pom.xml            | 159 -----------
 java/kudu-client/pom.xml                  | 305 --------------------
 java/kudu-flume-sink/pom.xml              | 139 ----------
 java/kudu-hive/pom.xml                    | 116 --------
 java/kudu-jepsen/README.adoc              |  22 +-
 java/kudu-jepsen/pom.xml                  | 150 ----------
 java/kudu-mapreduce/pom.xml               | 133 ---------
 java/kudu-spark-tools/pom.xml             | 203 --------------
 java/kudu-spark/pom.xml                   | 177 ------------
 java/pom.xml                              | 368 -------------------------
 18 files changed, 60 insertions(+), 2222 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/8c184e2a/RELEASING.adoc
----------------------------------------------------------------------
diff --git a/RELEASING.adoc b/RELEASING.adoc
index 4f68b75..40cbbcd 100644
--- a/RELEASING.adoc
+++ b/RELEASING.adoc
@@ -85,13 +85,6 @@ branch with the same name and the previously-noted SHA1.
 
 . Check out the `master` branch and bump the version in `version.txt`.
 
-. Update the version for the Java client from within the `java` directory:
-+
-----
-  cd java
-  mvn versions:set -DnewVersion=1.x.y-SNAPSHOT
-----
-
 . Update the version in `java/gradle.properties`.
 
 . If the python API has changed since the previous release, bump the Python version

http://git-wip-us.apache.org/repos/asf/kudu/blob/8c184e2a/build-support/jenkins/build-and-test.sh
----------------------------------------------------------------------
diff --git a/build-support/jenkins/build-and-test.sh b/build-support/jenkins/build-and-test.sh
index 6ba91c9..b74c2ef 100755
--- a/build-support/jenkins/build-and-test.sh
+++ b/build-support/jenkins/build-and-test.sh
@@ -57,12 +57,6 @@
 #   BUILD_JAVA        Default: 1
 #     Build and test java code if this is set to 1.
 #
-#   BUILD_MAVEN       Default: 0
-#     When building java code, build with Maven if this is set to 1.
-#
-#   BUILD_GRADLE      Default: 1
-#     When building java code, build with Gradle if this is set to 1.
-#
 #   BUILD_PYTHON       Default: 1
 #     Build and test the Python wrapper of the client API.
 #
@@ -75,11 +69,6 @@
 #     Extra flags which are passed to 'pip install' when setting up the build
 #     environment for the Python wrapper.
 #
-#   MVN_FLAGS          Default: ""
-#     Extra flags which are passed to 'mvn' when building and running Java
-#     tests. This can be useful, for example, to choose a different maven
-#     repository location.
-#
 #   GRADLE_FLAGS       Default: ""
 #     Extra flags which are passed to 'gradle' when running Gradle commands.
 #
@@ -120,7 +109,6 @@ export KUDU_ALLOW_SLOW_TESTS=${KUDU_ALLOW_SLOW_TESTS:-$DEFAULT_ALLOW_SLOW_TESTS}
 export KUDU_COMPRESS_TEST_OUTPUT=${KUDU_COMPRESS_TEST_OUTPUT:-1}
 export TEST_TMPDIR=${TEST_TMPDIR:-/tmp/kudutest-$UID}
 BUILD_JAVA=${BUILD_JAVA:-1}
-BUILD_MAVEN=${BUILD_MAVEN:-0}
 BUILD_GRADLE=${BUILD_GRADLE:-1}
 BUILD_PYTHON=${BUILD_PYTHON:-1}
 BUILD_PYTHON3=${BUILD_PYTHON3:-1}
@@ -144,7 +132,6 @@ rm -rf $BUILD_ROOT
 mkdir -p $BUILD_ROOT
 
 # Same for the Java tests, which aren't inside BUILD_ROOT
-rm -rf $SOURCE_ROOT/java/*/target
 rm -rf $SOURCE_ROOT/java/*/build
 
 list_flaky_tests() {
@@ -167,11 +154,6 @@ if [ -n "$BUILD_ID" ]; then
   trap cleanup EXIT
 fi
 
-export TOOLCHAIN_DIR=/opt/toolchain
-if [ -d "$TOOLCHAIN_DIR" ]; then
-  PATH=$TOOLCHAIN_DIR/apache-maven-3.0/bin:$PATH
-fi
-
 THIRDPARTY_TYPE=
 if [ "$BUILD_TYPE" = "TSAN" ]; then
   THIRDPARTY_TYPE=tsan
@@ -393,47 +375,32 @@ if [ "$BUILD_JAVA" == "1" ]; then
   pushd $SOURCE_ROOT/java
   set -x
 
-  # Run the full Maven build.
-  if [ "$BUILD_MAVEN" == "1" ]; then
-    EXTRA_MVN_FLAGS="-B"
-    EXTRA_MVN_FLAGS="$EXTRA_MVN_FLAGS -Dsurefire.rerunFailingTestsCount=3"
-    EXTRA_MVN_FLAGS="$EXTRA_MVN_FLAGS -Dfailsafe.rerunFailingTestsCount=3"
-    EXTRA_MVN_FLAGS="$EXTRA_MVN_FLAGS -Dmaven.javadoc.skip"
-    EXTRA_MVN_FLAGS="$EXTRA_MVN_FLAGS $MVN_FLAGS"
-    if ! mvn $EXTRA_MVN_FLAGS clean verify ; then
-      TESTS_FAILED=1
-      FAILURES="$FAILURES"$'Java Maven build/test failed\n'
-    fi
-  fi
-
   # Run the full Gradle build.
-  if [ "$BUILD_GRADLE" == "1" ]; then
-    export EXTRA_GRADLE_FLAGS="--console=plain"
-    EXTRA_GRADLE_FLAGS="$EXTRA_GRADLE_FLAGS --no-daemon"
-    EXTRA_GRADLE_FLAGS="$EXTRA_GRADLE_FLAGS --continue"
-    EXTRA_GRADLE_FLAGS="$EXTRA_GRADLE_FLAGS -DrerunFailingTestsCount=3"
-    # KUDU-2524: temporarily disable scalafmt until we can work out its JDK
-    # incompatibility issue.
-    EXTRA_GRADLE_FLAGS="$EXTRA_GRADLE_FLAGS -DskipFormat"
-    EXTRA_GRADLE_FLAGS="$EXTRA_GRADLE_FLAGS $GRADLE_FLAGS"
-    # If we're running distributed Java tests, submit them asynchronously.
-    if [ "$ENABLE_DIST_TEST" == "1" ]; then
-      echo
-      echo Submitting Java distributed-test job.
-      echo ------------------------------------------------------------
-      # dist-test uses DIST_TEST_JOB_PATH to define where to output it's id file.
-      export DIST_TEST_JOB_PATH=$BUILD_ROOT/java-dist-test-job-id
-      rm -f $DIST_TEST_JOB_PATH
-      if ! $SOURCE_ROOT/build-support/dist_test.py --no-wait java run-all ; then
-        EXIT_STATUS=1
-        FAILURES="$FAILURES"$'Could not submit Java distributed test job\n'
-      fi
-    else
-      # TODO: Run `gradle check` in BUILD_TYPE DEBUG when static code analysis is fixed
-      if ! ./gradlew $EXTRA_GRADLE_FLAGS clean test ; then
-        TESTS_FAILED=1
-        FAILURES="$FAILURES"$'Java Gradle build/test failed\n'
-      fi
+  export EXTRA_GRADLE_FLAGS="--console=plain"
+  EXTRA_GRADLE_FLAGS="$EXTRA_GRADLE_FLAGS --no-daemon"
+  EXTRA_GRADLE_FLAGS="$EXTRA_GRADLE_FLAGS --continue"
+  EXTRA_GRADLE_FLAGS="$EXTRA_GRADLE_FLAGS -DrerunFailingTestsCount=3"
+  # KUDU-2524: temporarily disable scalafmt until we can work out its JDK
+  # incompatibility issue.
+  EXTRA_GRADLE_FLAGS="$EXTRA_GRADLE_FLAGS -DskipFormat"
+  EXTRA_GRADLE_FLAGS="$EXTRA_GRADLE_FLAGS $GRADLE_FLAGS"
+  # If we're running distributed Java tests, submit them asynchronously.
+  if [ "$ENABLE_DIST_TEST" == "1" ]; then
+    echo
+    echo Submitting Java distributed-test job.
+    echo ------------------------------------------------------------
+    # dist-test uses DIST_TEST_JOB_PATH to define where to output it's id file.
+    export DIST_TEST_JOB_PATH=$BUILD_ROOT/java-dist-test-job-id
+    rm -f $DIST_TEST_JOB_PATH
+    if ! $SOURCE_ROOT/build-support/dist_test.py --no-wait java run-all ; then
+      EXIT_STATUS=1
+      FAILURES="$FAILURES"$'Could not submit Java distributed test job\n'
+    fi
+  else
+    # TODO: Run `gradle check` in BUILD_TYPE DEBUG when static code analysis is fixed
+    if ! ./gradlew $EXTRA_GRADLE_FLAGS clean test ; then
+      TESTS_FAILED=1
+      FAILURES="$FAILURES"$'Java Gradle build/test failed\n'
     fi
   fi
 
@@ -613,26 +580,24 @@ if [ "$ENABLE_DIST_TEST" == "1" ]; then
     rm -Rf $arch_dir
   done
 
-  if [ "$BUILD_GRADLE" == "1" ]; then
-    echo
-    echo Fetching previously submitted Java dist-test results...
-    echo ------------------------------------------------------------
-    JAVA_DIST_TEST_ID=`cat $BUILD_ROOT/java-dist-test-job-id`
-    if ! $DIST_TEST_HOME/bin/client watch $JAVA_DIST_TEST_ID ; then
-      TESTS_FAILED=1
-      FAILURES="$FAILURES"$'Distributed Java tests failed\n'
-    fi
-    DT_DIR=$TEST_LOGDIR/java-dist-test-out
-    rm -Rf $DT_DIR
-    $DIST_TEST_HOME/bin/client fetch --artifacts -d $DT_DIR $JAVA_DIST_TEST_ID
-    # Fetching the artifacts expands each log into its own directory.
-    # Move them back into the main log directory
-    rm -f $DT_DIR/*zip
-    for arch_dir in $DT_DIR/* ; do
-      mv $arch_dir/build/java/test-logs/* $TEST_LOGDIR
-      rm -Rf $arch_dir
-    done
+  echo
+  echo Fetching previously submitted Java dist-test results...
+  echo ------------------------------------------------------------
+  JAVA_DIST_TEST_ID=`cat $BUILD_ROOT/java-dist-test-job-id`
+  if ! $DIST_TEST_HOME/bin/client watch $JAVA_DIST_TEST_ID ; then
+    TESTS_FAILED=1
+    FAILURES="$FAILURES"$'Distributed Java tests failed\n'
   fi
+  DT_DIR=$TEST_LOGDIR/java-dist-test-out
+  rm -Rf $DT_DIR
+  $DIST_TEST_HOME/bin/client fetch --artifacts -d $DT_DIR $JAVA_DIST_TEST_ID
+  # Fetching the artifacts expands each log into its own directory.
+  # Move them back into the main log directory
+  rm -f $DT_DIR/*zip
+  for arch_dir in $DT_DIR/* ; do
+    mv $arch_dir/build/java/test-logs/* $TEST_LOGDIR
+    rm -Rf $arch_dir
+  done
 fi
 
 if [ "$TESTS_FAILED" != "0" -o "$EXIT_STATUS" != "0" ]; then

http://git-wip-us.apache.org/repos/asf/kudu/blob/8c184e2a/build-support/jenkins/post-build-clean.sh
----------------------------------------------------------------------
diff --git a/build-support/jenkins/post-build-clean.sh b/build-support/jenkins/post-build-clean.sh
index def3e21..385e4d9 100755
--- a/build-support/jenkins/post-build-clean.sh
+++ b/build-support/jenkins/post-build-clean.sh
@@ -28,7 +28,7 @@ ROOT=$(cd $(dirname "$BASH_SOURCE")/../..; pwd)
 cd $ROOT
 
 # Note that we use simple shell commands instead of "make clean"
-# or "mvn clean". This is more foolproof even if something ends
+# or "gradle clean". This is more foolproof even if something ends
 # up partially compiling, etc.
 
 # Clean up intermediate object files in the src tree

http://git-wip-us.apache.org/repos/asf/kudu/blob/8c184e2a/docs/developing.adoc
----------------------------------------------------------------------
diff --git a/docs/developing.adoc b/docs/developing.adoc
index 49d8c7e..74702d3 100644
--- a/docs/developing.adoc
+++ b/docs/developing.adoc
@@ -72,12 +72,12 @@ The following Maven `<dependency>` element is valid for the Apache Kudu public r
 <dependency>
   <groupId>org.apache.kudu</groupId>
   <artifactId>kudu-client</artifactId>
-  <version>1.1.0</version>
+  <version>1.8.0</version>
 </dependency>
 ----
 
 Convenience binary artifacts for the Java client and various Java integrations (e.g. Spark, Flume)
-are also now available via the link:http://repository.apache.org[ASF Maven repository] and
+are also available via the link:http://repository.apache.org[ASF Maven repository] and
 link:https://mvnrepository.com/artifact/org.apache.kudu[Maven Central repository].
 
 == Example Impala Commands With Kudu

http://git-wip-us.apache.org/repos/asf/kudu/blob/8c184e2a/docs/installation.adoc
----------------------------------------------------------------------
diff --git a/docs/installation.adoc b/docs/installation.adoc
index 4b2fc84..fe9bf16 100644
--- a/docs/installation.adoc
+++ b/docs/installation.adoc
@@ -665,7 +665,6 @@ Other libraries and headers are internal to Kudu and have no stability guarantee
 
 .Requirements
 - JDK 7 or JDK 8
-- Apache Maven 3.x
 
 WARNING: Support for Java 7 is deprecated as of Kudu 1.5.0 and may be removed in
 the next major release.
@@ -675,7 +674,7 @@ repository, change to the `java` directory, and issue the following command:
 
 [source,bash]
 ----
-$ mvn install -DskipTests
+$ ./gradlew assemble
 ----
 
 For more information about building the Java API, as well as Eclipse integration,

http://git-wip-us.apache.org/repos/asf/kudu/blob/8c184e2a/docs/support/scripts/make_site.sh
----------------------------------------------------------------------
diff --git a/docs/support/scripts/make_site.sh b/docs/support/scripts/make_site.sh
index e645b6c..c675813 100755
--- a/docs/support/scripts/make_site.sh
+++ b/docs/support/scripts/make_site.sh
@@ -105,13 +105,13 @@ fi
 if [ -n "$OPT_JAVADOC" ]; then
   JAVADOC_SUBDIR="apidocs"
   cd "$SOURCE_ROOT/java"
-  mvn clean install -DskipTests
-  if mvn clean javadoc:aggregate | tee /dev/stdout | fgrep -q "Javadoc Warnings"; then
+  ./gradlew clean assemble
+  if ./gradlew clean javadocAggregate | tee /dev/stdout | fgrep -q "Javadoc Warnings"; then
     echo "There are Javadoc warnings. Please fix them."
     exit 1
   fi
 
-  if [ -f "$SOURCE_ROOT/java/target/site/$JAVADOC_SUBDIR/index.html" ]; then
+  if [ -f "$SOURCE_ROOT/java/build/docs/javadoc/index.html" ]; then
     echo "Successfully built Javadocs."
   else
     echo "Javadocs failed to build."
@@ -119,7 +119,7 @@ if [ -n "$OPT_JAVADOC" ]; then
   fi
 
   rm -Rf "$SITE_OUTPUT_DIR/$JAVADOC_SUBDIR"
-  cp -a "$SOURCE_ROOT/java/target/site/$JAVADOC_SUBDIR" "$SITE_OUTPUT_DIR/"
+  cp -a "$SOURCE_ROOT/java/build/docs/javadoc/." "$SITE_OUTPUT_DIR/$JAVADOC_SUBDIR"
 fi
 
 if [ -n "$OPT_DOXYGEN" ]; then

http://git-wip-us.apache.org/repos/asf/kudu/blob/8c184e2a/java/README.adoc
----------------------------------------------------------------------
diff --git a/java/README.adoc b/java/README.adoc
index 42da7e7..5049b51 100644
--- a/java/README.adoc
+++ b/java/README.adoc
@@ -130,35 +130,6 @@ $ ./gradlew install
 NOTE: Additional Gradle command line flag options can be found
 https://docs.gradle.org/current/userguide/command_line_interface.html[here].
 
-== Building with Maven
-
-WARNING: The Maven build is deprecated and may be removed in
-a future release.
-
-Though the Gradle build is the preferred way to build,
-the Maven build still exists and can be used.
-
-=== Running a Full Build
-
-[source,bash]
-----
-$ mvn package -DskipTests
-----
-
-=== Running the Tests
-
-[source,bash]
-----
-$ mvn test
-----
-
-=== Running the Integration Tests
-
-[source,bash]
-----
-$ mvn verify
-----
-
 == Tips for IDEs
 
 === IntelliJ

http://git-wip-us.apache.org/repos/asf/kudu/blob/8c184e2a/java/kudu-backup/pom.xml
----------------------------------------------------------------------
diff --git a/java/kudu-backup/pom.xml b/java/kudu-backup/pom.xml
deleted file mode 100644
index ca1f1c8..0000000
--- a/java/kudu-backup/pom.xml
+++ /dev/null
@@ -1,338 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-//
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements.  See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership.  The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License.  You may obtain a copy of the License at
-//
-//   http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied.  See the License for the
-// specific language governing permissions and limitations
-// under the License.
--->
-<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>
-    <parent>
-        <groupId>org.apache.kudu</groupId>
-        <artifactId>kudu-parent</artifactId>
-        <version>1.9.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>kudu-backup${spark.version.label}_${scala.binary.version}</artifactId>
-    <name>Kudu Backup</name>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-client</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-${spark.version.label}_${scala.binary.version}</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>com.google.protobuf</groupId>
-            <artifactId>protobuf-java</artifactId>
-            <version>${protobuf.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>com.google.protobuf</groupId>
-            <artifactId>protobuf-java-util</artifactId>
-            <version>${protobuf.version}</version>
-            <exclusions>
-                <exclusion>
-                    <!-- Make sure wrong Guava version is not pulled in. -->
-                    <groupId>com.google.guava</groupId>
-                    <artifactId>guava</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>com.github.scopt</groupId>
-            <artifactId>scopt_${scala.binary.version}</artifactId>
-            <version>${scopt.version}</version>
-            <exclusions>
-                <exclusion>
-                    <!-- Make sure wrong Scala version is not pulled in. -->
-                    <groupId>org.scala-lang</groupId>
-                    <artifactId>scala-library</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <!-- TODO(KUDU-2500): Spark uses reflection which requires the annotations at runtime. -->
-        <dependency>
-            <groupId>org.apache.yetus</groupId>
-            <artifactId>audience-annotations</artifactId>
-            <version>${yetus.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>com.databricks</groupId>
-            <artifactId>spark-avro_${scala.binary.version}</artifactId>
-            <version>${sparkavro.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.spark</groupId>
-            <artifactId>spark-core_${scala.binary.version}</artifactId>
-            <version>${spark.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.spark</groupId>
-            <artifactId>spark-sql_${scala.binary.version}</artifactId>
-            <version>${spark.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.scala-lang</groupId>
-            <artifactId>scala-library</artifactId>
-            <version>${scala.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-            <version>${slf4j.version}</version>
-            <scope>provided</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-${spark.version.label}_${scala.binary.version}</artifactId>
-            <version>${project.version}</version>
-            <type>test-jar</type>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-client</artifactId>
-            <version>${project.version}</version>
-            <type>test-jar</type>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>${junit.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-            <version>${log4j.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.scalatest</groupId>
-            <artifactId>scalatest_${scala.binary.version}</artifactId>
-            <version>${scalatest.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-log4j12</artifactId>
-            <version>${slf4j.version}</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <!-- set source dirs explicitly for the scalafmt plugin -->
-        <sourceDirectory>src/main/scala</sourceDirectory>
-        <testSourceDirectory>src/test/scala</testSourceDirectory>
-        <extensions>
-            <!-- Used in the protobuf plugin to find the right protoc artifact
-                 with the property os.detected.classifier -->
-            <extension>
-                <groupId>kr.motd.maven</groupId>
-                <artifactId>os-maven-plugin</artifactId>
-                <version>${maven-os-plugin.version}</version>
-            </extension>
-        </extensions>
-        <plugins>
-            <plugin>
-                <groupId>org.xolstice.maven.plugins</groupId>
-                <artifactId>protobuf-maven-plugin</artifactId>
-                <version>${maven-protoc-plugin.version}</version>
-                <extensions>true</extensions>
-                <configuration>
-                    <!-- Documented at:
-                         https://www.xolstice.org/protobuf-maven-plugin/usage.html -->
-                    <checkStaleness>true</checkStaleness>
-                    <protoSourceRoot>src/main/protobuf</protoSourceRoot>
-                    <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
-                </configuration>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>compile</goal>
-                        </goals>
-                        <phase>generate-sources</phase>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-shade-plugin</artifactId>
-                <version>${maven-shade-plugin.version}</version>
-                <configuration>
-                    <artifactSet>
-                        <includes>
-                            <include>com.google.guava:guava</include>
-                            <include>com.google.gson:protobuf-gson</include>
-                            <include>com.google.protobuf:protobuf-java</include>
-                            <include>com.google.protobuf:protobuf-java</include>
-                        </includes>
-                    </artifactSet>
-                    <relocations>
-                        <relocation>
-                            <pattern>com.google.common</pattern>
-                            <shadedPattern>org.apache.kudu.shaded.com.google.common</shadedPattern>
-                        </relocation>
-                        <relocation>
-                            <pattern>com.google.gson</pattern>
-                            <shadedPattern>org.apache.kudu.shaded.com.google.gson</shadedPattern>
-                        </relocation>
-                        <relocation>
-                            <pattern>com.google.protobuf</pattern>
-                            <shadedPattern>org.apache.kudu.shaded.com.google.protobuf</shadedPattern>
-                        </relocation>
-                        <relocation>
-                            <pattern>com.google.thirdparty</pattern>
-                            <shadedPattern>org.apache.kudu.shaded.com.google.thirdparty</shadedPattern>
-                        </relocation>
-                        <relocation>
-                            <pattern>com.github.scopt</pattern>
-                            <shadedPattern>org.apache.kudu.shaded.scopt</shadedPattern>
-                        </relocation>
-                    </relocations>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>net.alchim31.maven</groupId>
-                <artifactId>scala-maven-plugin</artifactId>
-                <version>${scala-maven-plugin.version}</version>
-                <configuration>
-                    <charset>${project.build.sourceEncoding}</charset>
-                    <scalaVersion>${scala.version}</scalaVersion>
-                    <args>
-                        <!-- Emit warning and location for usages of features that should be imported explicitly. -->
-                        <arg>-feature</arg>
-                        <!-- Emit various static analysis warnings. -->
-                        <arg>-Xlint</arg>
-                    </args>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>scala-compile-first</id>
-                        <phase>process-resources</phase>
-                        <goals>
-                            <goal>add-source</goal>
-                            <goal>compile</goal>
-                        </goals>
-                    </execution>
-                    <execution>
-                        <id>scala-test-compile</id>
-                        <phase>process-test-resources</phase>
-                        <goals>
-                            <goal>testCompile</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-shade-plugin</artifactId>
-                <version>${maven-shade-plugin.version}</version>
-            </plugin>
-            <plugin>
-                <groupId>org.antipathy</groupId>
-                <artifactId>mvn-scalafmt</artifactId>
-            </plugin>
-        </plugins>
-
-
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <!-- kudu-backup has no public Javadoc. -->
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-javadoc-plugin</artifactId>
-                    <configuration>
-                        <skip>true</skip>
-                    </configuration>
-                </plugin>
-                <plugin>
-                    <!-- Skip publishing kudu-backup until it's ready to be supported long-term. -->
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-deploy-plugin</artifactId>
-                    <configuration>
-                        <skip>true</skip>
-                    </configuration>
-                </plugin>
-                <!-- This big ol' block of nonsense tells the m2e Eclipse plugin what
-                     to do with maven plugins that don't have m2e "extensions" available.
-                     It doesn't affect the Maven build at all. -->
-                <plugin>
-                    <groupId>org.eclipse.m2e</groupId>
-                    <artifactId>lifecycle-mapping</artifactId>
-                    <version>1.0.0</version>
-                    <configuration>
-                        <lifecycleMappingMetadata>
-                            <pluginExecutions>
-                                <pluginExecution>
-                                    <pluginExecutionFilter>
-                                        <groupId>org.apache.maven.plugins</groupId>
-                                        <artifactId>maven-antrun-plugin</artifactId>
-                                        <versionRange>[${maven-antrun-plugin.version},)</versionRange>
-                                        <goals>
-                                            <goal>run</goal>
-                                        </goals>
-                                    </pluginExecutionFilter>
-                                    <action>
-                                        <execute>
-                                            <runOnIncremental>false</runOnIncremental>
-                                        </execute>
-                                    </action>
-                                </pluginExecution>
-                                <pluginExecution>
-                                    <pluginExecutionFilter>
-                                        <groupId>org.xolstice.maven.plugins</groupId>
-                                        <artifactId>protobuf-maven-plugin</artifactId>
-                                        <versionRange>[${maven-protoc-plugin.version},)</versionRange>
-                                        <goals>
-                                            <goal>compile</goal>
-                                        </goals>
-                                    </pluginExecutionFilter>
-                                    <action>
-                                        <execute>
-                                            <runOnIncremental>false</runOnIncremental>
-                                        </execute>
-                                    </action>
-                                </pluginExecution>
-                            </pluginExecutions>
-                        </lifecycleMappingMetadata>
-                    </configuration>
-                </plugin>
-            </plugins>
-        </pluginManagement>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/kudu/blob/8c184e2a/java/kudu-client-tools/pom.xml
----------------------------------------------------------------------
diff --git a/java/kudu-client-tools/pom.xml b/java/kudu-client-tools/pom.xml
deleted file mode 100644
index e1b6f9f..0000000
--- a/java/kudu-client-tools/pom.xml
+++ /dev/null
@@ -1,159 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-//
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements.  See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership.  The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License.  You may obtain a copy of the License at
-//
-//   http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied.  See the License for the
-// specific language governing permissions and limitations
-// under the License.
--->
-<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>
-    <parent>
-        <groupId>org.apache.kudu</groupId>
-        <artifactId>kudu-parent</artifactId>
-        <version>1.9.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>kudu-client-tools</artifactId>
-    <name>Kudu Client Tools</name>
-    <description>Collection of tools that interact directly with Kudu</description>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-mapreduce</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>com.google.guava</groupId>
-            <artifactId>guava</artifactId>
-            <version>${guava.version}</version>
-            <exclusions>
-                <!-- Ignore the transitive annotations libraries that are -->
-                <!-- not marked as optional in version 22.0+ -->
-                <exclusion>
-                    <groupId>*</groupId>
-                    <artifactId>*</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.hadoop</groupId>
-            <artifactId>hadoop-common</artifactId>
-            <version>${hadoop.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.hadoop</groupId>
-            <artifactId>hadoop-mapreduce-client-common</artifactId>
-            <version>${hadoop.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.parquet</groupId>
-            <artifactId>parquet-hadoop</artifactId>
-            <version>${parquet.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-            <version>${slf4j.version}</version>
-            <scope>provided</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.yetus</groupId>
-            <artifactId>audience-annotations</artifactId>
-            <version>${yetus.version}</version>
-            <optional>true</optional>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-client</artifactId>
-            <version>${project.version}</version>
-            <type>test-jar</type>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-mapreduce</artifactId>
-            <version>${project.version}</version>
-            <type>test-jar</type>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>commons-io</groupId>
-            <artifactId>commons-io</artifactId>
-            <version>${commons-io.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>${junit.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-            <version>${log4j.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-log4j12</artifactId>
-            <version>${slf4j.version}</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-failsafe-plugin</artifactId>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-shade-plugin</artifactId>
-                <version>${maven-shade-plugin.version}</version>
-                <configuration>
-                    <artifactSet>
-                        <includes>
-                            <include>com.google.guava:guava</include>
-                            <include>org.apache.kudu:kudu-client</include>
-                            <include>org.apache.kudu:kudu-mapreduce</include>
-                        </includes>
-                    </artifactSet>
-                    <relocations>
-                        <relocation>
-                            <pattern>com.google.common</pattern>
-                            <shadedPattern>org.apache.kudu.shaded.com.google.common</shadedPattern>
-                        </relocation>
-                        <relocation>
-                            <pattern>com.google.thirdparty</pattern>
-                            <shadedPattern>org.apache.kudu.shaded.com.google.thirdparty</shadedPattern>
-                        </relocation>
-                    </relocations>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/kudu/blob/8c184e2a/java/kudu-client/pom.xml
----------------------------------------------------------------------
diff --git a/java/kudu-client/pom.xml b/java/kudu-client/pom.xml
deleted file mode 100644
index 3b3babe..0000000
--- a/java/kudu-client/pom.xml
+++ /dev/null
@@ -1,305 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-//
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements.  See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership.  The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License.  You may obtain a copy of the License at
-//
-//   http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied.  See the License for the
-// specific language governing permissions and limitations
-// under the License.
--->
-<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>
-    <parent>
-        <groupId>org.apache.kudu</groupId>
-        <artifactId>kudu-parent</artifactId>
-        <version>1.9.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>kudu-client</artifactId>
-    <name>Kudu Java Client</name>
-
-    <dependencies>
-        <dependency>
-            <!-- Not shaded or included in the client JAR because it's part
-                 of the public API. -->
-            <groupId>com.stumbleupon</groupId>
-            <artifactId>async</artifactId>
-            <version>${async.version}</version>
-            <exclusions>
-                <!-- Explicitly exclude slf4j because async uses version ranges
-                     for the dependency -->
-                <exclusion>
-                    <groupId>org.slf4j</groupId>
-                    <artifactId>slf4j-api</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-
-        <dependency>
-            <groupId>com.google.guava</groupId>
-            <artifactId>guava</artifactId>
-            <version>${guava.version}</version>
-            <exclusions>
-                <!-- Ignore the transitive annotations libraries that are -->
-                <!-- not marked as optional in version 22.0+ -->
-                <exclusion>
-                    <groupId>*</groupId>
-                    <artifactId>*</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>com.google.protobuf</groupId>
-            <artifactId>protobuf-java</artifactId>
-            <version>${protobuf.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>com.sangupta</groupId>
-            <artifactId>murmur</artifactId>
-            <version>${murmur.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>io.netty</groupId>
-            <artifactId>netty</artifactId>
-            <version>${netty.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-            <version>${slf4j.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>com.google.code.findbugs</groupId>
-            <artifactId>jsr305</artifactId>
-            <version>${jsr305.version}</version>
-            <optional>true</optional>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.yetus</groupId>
-            <artifactId>audience-annotations</artifactId>
-            <version>${yetus.version}</version>
-            <optional>true</optional>
-        </dependency>
-
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>${junit.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-            <version>${log4j.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.hamcrest</groupId>
-            <artifactId>hamcrest-core</artifactId>
-            <version>${hamcrest-core.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.mockito</groupId>
-            <artifactId>mockito-core</artifactId>
-            <version>${mockito-core.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-log4j12</artifactId>
-            <version>${slf4j.version}</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <extensions>
-            <!-- Used in the protobuf plugin to find the right protoc artifact
-                 with the property os.detected.classifier -->
-            <extension>
-              <groupId>kr.motd.maven</groupId>
-              <artifactId>os-maven-plugin</artifactId>
-              <version>${maven-os-plugin.version}</version>
-            </extension>
-        </extensions>
-        <plugins>
-            <plugin>
-                <groupId>org.xolstice.maven.plugins</groupId>
-                <artifactId>protobuf-maven-plugin</artifactId>
-                <version>${maven-protoc-plugin.version}</version>
-                <extensions>true</extensions>
-                <configuration>
-                    <!-- Documented at:
-                         https://www.xolstice.org/protobuf-maven-plugin/usage.html -->
-                    <checkStaleness>true</checkStaleness>
-                    <protoSourceRoot>${project.basedir}/../../src</protoSourceRoot>
-                    <excludes>
-                      <exclude>**/*test*.proto</exclude>
-                    </excludes>
-                    <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
-                </configuration>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>compile</goal>
-                        </goals>
-                        <phase>generate-sources</phase>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-shade-plugin</artifactId>
-              <version>${maven-shade-plugin.version}</version>
-              <configuration>
-                <artifactSet>
-                  <includes>
-                    <include>com.google.guava:guava</include>
-                    <include>com.google.protobuf:protobuf-java</include>
-                    <include>com.sangupta:murmur</include>
-                    <include>io.netty:netty</include>
-                  </includes>
-                </artifactSet>
-                <relocations>
-                  <relocation>
-                    <pattern>com.google.common</pattern>
-                    <shadedPattern>org.apache.kudu.shaded.com.google.common</shadedPattern>
-                  </relocation>
-                  <relocation>
-                    <pattern>com.google.thirdparty</pattern>
-                    <shadedPattern>org.apache.kudu.shaded.com.google.thirdparty</shadedPattern>
-                  </relocation>
-                  <relocation>
-                    <pattern>com.google.protobuf</pattern>
-                    <shadedPattern>org.apache.kudu.shaded.com.google.protobuf</shadedPattern>
-                  </relocation>
-                  <relocation>
-                    <pattern>com.sangupta</pattern>
-                    <shadedPattern>org.apache.kudu.shaded.com.sangupta</shadedPattern>
-                  </relocation>
-                  <relocation>
-                    <pattern>org.jboss.netty</pattern>
-                    <shadedPattern>org.apache.kudu.shaded.org.jboss.netty</shadedPattern>
-                  </relocation>
-                </relocations>
-              </configuration>
-            </plugin>
-            <!-- Attach source and javadoc to packaged jar -->
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-source-plugin</artifactId>
-              <version>2.4</version>
-              <executions>
-                <execution>
-                  <id>attach-sources</id>
-                  <goals>
-                    <goal>jar</goal>
-                  </goals>
-                </execution>
-                <execution>
-                  <id>attach-test-sources</id>
-                  <goals>
-                    <goal>test-jar</goal>
-                  </goals>
-                </execution>
-              </executions>
-            </plugin>
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-javadoc-plugin</artifactId>
-              <version>2.10.3</version>
-              <executions>
-                <execution>
-                  <id>attach-javadocs</id>
-                  <goals>
-                    <goal>jar</goal>
-                  </goals>
-                </execution>
-              </executions>
-            </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-jar-plugin</artifactId>
-            <version>2.6</version>
-            <executions>
-              <execution>
-                <goals>
-                  <goal>test-jar</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-surefire-plugin</artifactId>
-            </plugin>
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-failsafe-plugin</artifactId>
-            </plugin>
-          </plugins>
-
-        <!-- This big ol' block of nonsense tells the m2e Eclipse plugin what
-             to do with maven plugins that don't have m2e "extensions" available.
-
-             It doesn't affect the Maven build at all. -->
-        <pluginManagement>
-          <plugins>
-            <plugin>
-              <groupId>org.eclipse.m2e</groupId>
-              <artifactId>lifecycle-mapping</artifactId>
-              <version>1.0.0</version>
-              <configuration>
-                <lifecycleMappingMetadata>
-                  <pluginExecutions>
-                    <pluginExecution>
-                      <pluginExecutionFilter>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-antrun-plugin</artifactId>
-                        <versionRange>[${maven-antrun-plugin.version},)</versionRange>
-                        <goals>
-                          <goal>run</goal>
-                        </goals>
-                      </pluginExecutionFilter>
-                      <action>
-                        <execute>
-                          <runOnIncremental>false</runOnIncremental>
-                        </execute>
-                      </action>
-                    </pluginExecution>
-                    <pluginExecution>
-                      <pluginExecutionFilter>
-                        <groupId>org.xolstice.maven.plugins</groupId>
-                        <artifactId>protobuf-maven-plugin</artifactId>
-                        <versionRange>[${maven-protoc-plugin.version},)</versionRange>
-                        <goals>
-                          <goal>compile</goal>
-                        </goals>
-                      </pluginExecutionFilter>
-                      <action>
-                        <execute>
-                          <runOnIncremental>false</runOnIncremental>
-                        </execute>
-                      </action>
-                    </pluginExecution>
-                  </pluginExecutions>
-                </lifecycleMappingMetadata>
-              </configuration>
-            </plugin>
-          </plugins>
-        </pluginManagement>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/kudu/blob/8c184e2a/java/kudu-flume-sink/pom.xml
----------------------------------------------------------------------
diff --git a/java/kudu-flume-sink/pom.xml b/java/kudu-flume-sink/pom.xml
deleted file mode 100644
index c2eaef0..0000000
--- a/java/kudu-flume-sink/pom.xml
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
-  license agreements. See the NOTICE file distributed with this work for additional
-  information regarding copyright ownership. The ASF licenses this file to
-  You under the Apache License, Version 2.0 (the "License"); you may not use
-  this file except in compliance with the License. You may obtain a copy of
-  the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
-  by applicable law or agreed to in writing, software distributed under the
-  License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
-  OF ANY KIND, either express or implied. See the License for the specific
-  language governing permissions and limitations under the License. -->
-<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/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <artifactId>kudu-parent</artifactId>
-    <groupId>org.apache.kudu</groupId>
-    <version>1.9.0-SNAPSHOT</version>
-  </parent>
-  <artifactId>kudu-flume-sink</artifactId>
-  <name>Kudu Flume NG Sink</name>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.kudu</groupId>
-      <artifactId>kudu-client</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>com.google.guava</groupId>
-      <artifactId>guava</artifactId>
-      <version>${guava.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.flume</groupId>
-      <artifactId>flume-ng-core</artifactId>
-      <version>${flume.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.flume</groupId>
-      <artifactId>flume-ng-configuration</artifactId>
-      <version>${flume.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.avro</groupId>
-      <artifactId>avro</artifactId>
-      <version>${avro.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.hadoop</groupId>
-      <artifactId>hadoop-common</artifactId>
-      <version>${hadoop.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-api</artifactId>
-      <version>${slf4j.version}</version>
-      <scope>provided</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.yetus</groupId>
-      <artifactId>audience-annotations</artifactId>
-      <version>${yetus.version}</version>
-      <optional>true</optional>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.kudu</groupId>
-      <artifactId>kudu-client</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>${junit.version}</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-        <version>${maven-shade-plugin.version}</version>
-        <configuration>
-          <artifactSet>
-            <includes>
-              <include>org.apache.kudu:kudu-client</include>
-              <include>com.stumbleupon:async</include>
-            </includes>
-          </artifactSet>
-          <relocations>
-            <relocation>
-              <pattern>com.google.common</pattern>
-              <shadedPattern>org.apache.kudu.shaded.com.google.common</shadedPattern>
-            </relocation>
-            <relocation>
-              <pattern>com.google.protobuf</pattern>
-              <shadedPattern>org.apache.kudu.shaded.com.google.protobuf</shadedPattern>
-            </relocation>
-            <relocation>
-              <pattern>com.google.thirdparty</pattern>
-              <shadedPattern>org.apache.kudu.shaded.com.google.thirdparty</shadedPattern>
-            </relocation>
-          </relocations>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.avro</groupId>
-        <artifactId>avro-maven-plugin</artifactId>
-        <version>${avro.version}</version>
-        <executions>
-          <execution>
-            <phase>generate-test-sources</phase>
-              <goals>
-                <goal>schema</goal>
-              </goals>
-              <configuration>
-                <!-- Configure the Avro plugin to compile the schemas in the
-                     resource directory so the schemas are available in tests. -->
-                <testSourceDirectory>${basedir}/src/test/resources</testSourceDirectory>
-                <enableDecimalLogicalType>true</enableDecimalLogicalType>
-              </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>

http://git-wip-us.apache.org/repos/asf/kudu/blob/8c184e2a/java/kudu-hive/pom.xml
----------------------------------------------------------------------
diff --git a/java/kudu-hive/pom.xml b/java/kudu-hive/pom.xml
deleted file mode 100644
index 7239c7e..0000000
--- a/java/kudu-hive/pom.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements.  See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership.  The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License.  You may obtain a copy of the License at
-//
-//   http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied.  See the License for the
-// specific language governing permissions and limitations
-// under the License.
--->
-<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>
-    <parent>
-        <groupId>org.apache.kudu</groupId>
-        <artifactId>kudu-parent</artifactId>
-        <version>1.9.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>kudu-hive</artifactId>
-    <name>Kudu Hive</name>
-
-    <dependencies>
-        <!-- NOTE: The build currently expects all dependencies will be available
-             via the hive-metastore classpath. Therefore, all dependencies should
-             be provided scope.-->
-        <dependency>
-            <groupId>org.apache.hive</groupId>
-            <artifactId>hive-metastore</artifactId>
-            <version>${hive.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-            <version>${slf4j.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <!-- Transitively required through hive-metastore, which has marked it
-             as an optional dependency. -->
-        <dependency>
-            <groupId>org.apache.hadoop</groupId>
-            <artifactId>hadoop-common</artifactId>
-            <version>${hadoop.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.hadoop</groupId>
-            <artifactId>hadoop-mapreduce-client-common</artifactId>
-            <version>${hadoop.version}</version>
-            <scope>provided</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-client</artifactId>
-            <version>${project.version}</version>
-            <type>test-jar</type>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.hive</groupId>
-            <artifactId>hive-metastore</artifactId>
-            <version>${hive.version}</version>
-            <classifier>tests</classifier>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-            <version>${log4j.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>${junit.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-log4j12</artifactId>
-            <version>${slf4j.version}</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <!-- kudu-hive has no public Javadoc. -->
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-            <plugin>
-                <!-- Skip publishing kudu-hive until it's ready to be supported long-term. -->
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-deploy-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/kudu/blob/8c184e2a/java/kudu-jepsen/README.adoc
----------------------------------------------------------------------
diff --git a/java/kudu-jepsen/README.adoc b/java/kudu-jepsen/README.adoc
index fc7663b..562bcdd 100644
--- a/java/kudu-jepsen/README.adoc
+++ b/java/kudu-jepsen/README.adoc
@@ -32,10 +32,10 @@ server nodes. Tested to work on Debian 8 Jessie.
 
 == Overview
 The Clojure code is integrated into the project using the
-link:https://github.com/talios/clojure-maven-plugin[clojure-maven-plugin].
-The kudu-jepsen tests are invoked by executing the `clojure:run`
-plugin-specific goal. The parameters are passed via the standard
-`-D<property>=<value>` notation. There is a dedicated Clojure wrapper script
+link:https://github.com/nebula-plugins/nebula-clojure-plugin[nebula-clojure-plugin].
+The kudu-jepsen tests are invoked by executing the `runJepsen` task.
+The parameters are passed via the standard `-D<property>=<value>` notation.
+There is a dedicated Clojure wrapper script
 `kudu_test_runner.clj` in `$KUDU_HOME/java/kudu-jepsen/src/utils` which
 populates the test environment with appropriate properties and iteratively
 runs all the registered tests with different nemeses scenarios.
@@ -45,13 +45,12 @@ runs all the registered tests with different nemeses scenarios.
 To build the library the following components are required:
 
 * JDK 8
-* Apache Maven version 3.3.6 or higher
 
-To build the project and install necessary Java packages into the local mvn
+To build the project and install necessary Java packages into the local Maven
 repository, run in the parent directory (i.e. `$KUDU_HOME/java`)
 [listing]
 ----
-$ mvn -Pjepsen -DskipTests clean install
+$ ./gradlew -Pjepsen clean install
 ----
 
 === Running
@@ -62,7 +61,6 @@ be up and running when starting the test.
 To run the test, the following components are required at the control node:
 
 * JDK 8
-* Apache Maven version 3.3.6 or higher
 * SSH client (and optionally, SSH authentication agent)
 * gnuplot (to visualize test results)
 
@@ -80,14 +78,14 @@ If using SSH authentication agent to hold the SSH key for DB nodes access,
 run in the current directory:
 [listing]
 ----
-$ mvn clojure:run -DtserverNodes="t0,t1,t2,t3,t4" -DmasterNodes="m0"
+$ ./gradlew -Pjepsen runJepsen -DtserverNodes="t0,t1,t2,t3,t4" -DmasterNodes="m0"
 ----
 
 If not using SSH authentication agent, specify the SSH key location via the
 `sshKeyPath` property:
 [listing]
 ----
-$ mvn clojure:run -DtserverNodes="t0,t1,t2,t3,t4" -DmasterNodes="m0" -DsshKeyPath="./vm_root_id_rsa"
+$ ./gradlew -Pjepsen runJepsen -DtserverNodes="t0,t1,t2,t3,t4" -DmasterNodes="m0" -DsshKeyPath="./vm_root_id_rsa"
 ----
 
 Note that commas (not spaces) are used to separate the names of the nodes. The
@@ -99,7 +97,7 @@ Kudu tablet servers. The `masterNodes` property is used to specify the set of
 nodes to run Kudu master servers.
 
 In the Jepsen terminology, Kudu master and tserver nodes are playing
-*Jepsen DB node* roles. The machine where the above mentioned maven command
+*Jepsen DB node* roles. The machine where the above mentioned Gradle command
 is run plays *Jepsen control node* role.
 
 === A reference script to build Kudu and run Jepsen tests
@@ -136,7 +134,7 @@ summary message below reports on 10 errors in 10 tests ran:
 21:41:42 Ran 10  tests containing 10 assertions.
 21:41:42 0 failures, 10 errors.
 ----
-To get more details, take a closer look at the output of `mvn clojure:run`
+To get more details, take a closer look at the output of `./gradlew -Pjepsen runJepsen`
 or at particular `jepsen.log` files in
 `$KUDU_HOME/java/kudu-jepsen/store/rw-register/<test_timestamp>` directory. A
 quick way to locate the corresponding section in the error log is to search for

http://git-wip-us.apache.org/repos/asf/kudu/blob/8c184e2a/java/kudu-jepsen/pom.xml
----------------------------------------------------------------------
diff --git a/java/kudu-jepsen/pom.xml b/java/kudu-jepsen/pom.xml
deleted file mode 100644
index 535ffbc..0000000
--- a/java/kudu-jepsen/pom.xml
+++ /dev/null
@@ -1,150 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//     http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
--->
-<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>
-    <parent>
-        <groupId>org.apache.kudu</groupId>
-        <artifactId>kudu-parent</artifactId>
-        <version>1.9.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>kudu-jepsen</artifactId>
-    <name>Kudu Jepsen Tests</name>
-
-    <properties>
-        <!-- Jepsen tests require specific infrastructure and do not run as part of the
-             regular java tests.-->
-        <skipTests>true</skipTests>
-        <!-- List of Kudu Master nodes (e.g. "m0" or "m0,m1,m2") -->
-        <masterNodes>m0</masterNodes>
-        <!-- List of Kudu Tablet Server nodes (e.g. "t0,t1,t2") -->
-        <tserverNodes>t0,t1,t2,t3,t4</tserverNodes>
-        <!-- Path to the SSH key to access Kudu Master and
-             Tablet Server nodes as the 'root' user.  If left empty, the test
-             will try to use keys from the SSH agent, if any. -->
-        <sshKeyPath></sshKeyPath>
-        <!-- Number of iterations to run the test suite in cycle. -->
-        <iterNum>1</iterNum>
-    </properties>
-
-    <packaging>clojure</packaging>
-
-    <repositories>
-        <repository>
-            <id>clojars</id>
-            <url>http://clojars.org/repo/</url>
-        </repository>
-    </repositories>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.clojure</groupId>
-            <artifactId>clojure</artifactId>
-            <version>${clojure.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>jepsen</groupId>
-            <artifactId>jepsen</artifactId>
-            <version>${jepsen.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.clojure</groupId>
-            <artifactId>tools.cli</artifactId>
-            <version>${clojure.tools.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-client</artifactId>
-            <version>${project.version}</version>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.slf4j</groupId>
-                    <artifactId>slf4j-api</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-client</artifactId>
-            <version>${project.version}</version>
-            <type>test-jar</type>
-            <!-- Jepsen imports its own slf4j-->
-            <exclusions>
-                <exclusion>
-                    <groupId>org.slf4j</groupId>
-                    <artifactId>slf4j-api</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.yetus</groupId>
-            <artifactId>audience-annotations</artifactId>
-            <version>${yetus.version}</version>
-            <optional>true</optional>
-        </dependency>
-
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-              <groupId>com.theoryinpractise</groupId>
-              <artifactId>clojure-maven-plugin</artifactId>
-              <version>${clojure-maven-plugin.version}</version>
-              <!-- Load maven extensions (like type and packaging handlers) for
-                   the clojure maven plugin-->
-              <extensions>true</extensions>
-              <configuration>
-                <script>src/utils/kudu_test_runner.clj</script>
-                <args>
-                  --masters=${masterNodes}
-                  --tservers=${tserverNodes}
-                  --ssh-key-path=${sshKeyPath}
-                  --iter-num=${iterNum}
-                </args>
-              </configuration>
-            </plugin>
-            <plugin>
-              <!-- Do not run the checkstyle plugin for clojure sources -->
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-checkstyle-plugin</artifactId>
-              <version>${maven-checkstyle-plugin.version}</version>
-              <executions>
-                <execution>
-                  <id>validate</id>
-                  <phase>none</phase>
-                </execution>
-              </executions>
-            </plugin>
-        </plugins>
-        <resources>
-          <resource>
-            <directory>resources</directory>
-            <filtering>false</filtering>
-            <includes>
-              <include>kudu.flags</include>
-              <include>ntp.conf.common</include>
-              <include>ntp.conf.server</include>
-            </includes>
-          </resource>
-        </resources>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/kudu/blob/8c184e2a/java/kudu-mapreduce/pom.xml
----------------------------------------------------------------------
diff --git a/java/kudu-mapreduce/pom.xml b/java/kudu-mapreduce/pom.xml
deleted file mode 100644
index 126cfd9..0000000
--- a/java/kudu-mapreduce/pom.xml
+++ /dev/null
@@ -1,133 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-//
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements.  See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership.  The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License.  You may obtain a copy of the License at
-//
-//   http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied.  See the License for the
-// specific language governing permissions and limitations
-// under the License.
--->
-<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>
-    <parent>
-        <groupId>org.apache.kudu</groupId>
-        <artifactId>kudu-parent</artifactId>
-        <version>1.9.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>kudu-mapreduce</artifactId>
-    <name>Kudu MapReduce bindings</name>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-client</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>com.google.guava</groupId>
-            <artifactId>guava</artifactId>
-            <version>${guava.version}</version>
-            <exclusions>
-                <!-- Ignore the transitive annotations libraries that are -->
-                <!-- not marked as optional in version 22.0+ -->
-                <exclusion>
-                    <groupId>*</groupId>
-                    <artifactId>*</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>com.stumbleupon</groupId>
-            <artifactId>async</artifactId>
-            <version>${async.version}</version>
-            <exclusions>
-                <!-- Explicitly exclude slf4j because async uses version ranges
-                     for the dependency -->
-                <exclusion>
-                    <groupId>org.slf4j</groupId>
-                    <artifactId>slf4j-api</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.hadoop</groupId>
-            <artifactId>hadoop-common</artifactId>
-            <version>${hadoop.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.hadoop</groupId>
-            <artifactId>hadoop-mapreduce-client-common</artifactId>
-            <version>${hadoop.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-            <version>${slf4j.version}</version>
-            <scope>provided</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.yetus</groupId>
-            <artifactId>audience-annotations</artifactId>
-            <version>${yetus.version}</version>
-            <optional>true</optional>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-client</artifactId>
-            <version>${project.version}</version>
-            <type>test-jar</type>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>commons-io</groupId>
-            <artifactId>commons-io</artifactId>
-            <version>${commons-io.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-            <version>${log4j.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>${junit.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-log4j12</artifactId>
-            <version>${slf4j.version}</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-failsafe-plugin</artifactId>
-            </plugin>
-        </plugins>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/kudu/blob/8c184e2a/java/kudu-spark-tools/pom.xml
----------------------------------------------------------------------
diff --git a/java/kudu-spark-tools/pom.xml b/java/kudu-spark-tools/pom.xml
deleted file mode 100644
index 29017ae..0000000
--- a/java/kudu-spark-tools/pom.xml
+++ /dev/null
@@ -1,203 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-//
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements.  See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership.  The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License.  You may obtain a copy of the License at
-//
-//   http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied.  See the License for the
-// specific language governing permissions and limitations
-// under the License.
--->
-<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>
-    <parent>
-        <groupId>org.apache.kudu</groupId>
-        <artifactId>kudu-parent</artifactId>
-        <version>1.9.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>kudu-${spark.version.label}-tools_${scala.binary.version}</artifactId>
-    <name>Kudu Spark Tools</name>
-    <description>Collection of tools using Spark and Kudu</description>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-client</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-client-tools</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-${spark.version.label}_${scala.binary.version}</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <!-- TODO(KUDU-2500): Spark uses reflection which requires the annotations at runtime. -->
-        <dependency>
-            <groupId>org.apache.yetus</groupId>
-            <artifactId>audience-annotations</artifactId>
-            <version>${yetus.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>com.databricks</groupId>
-            <artifactId>spark-avro_${scala.binary.version}</artifactId>
-            <version>${sparkavro.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.spark</groupId>
-            <artifactId>spark-core_${scala.binary.version}</artifactId>
-            <version>${spark.version}</version>
-            <scope>provided</scope>
-            <exclusions>
-                <exclusion>
-                    <!-- make sure wrong scala version is not pulled in -->
-                    <groupId>org.scala-lang</groupId>
-                    <artifactId>scala-library</artifactId>
-                </exclusion>
-                <exclusion>
-                    <!-- make sure wrong scala version is not pulled in -->
-                    <groupId>org.scala-lang</groupId>
-                    <artifactId>scalap</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.spark</groupId>
-            <artifactId>spark-sql_${scala.binary.version}</artifactId>
-            <version>${spark.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.scala-lang</groupId>
-            <artifactId>scala-library</artifactId>
-            <version>${scala.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-            <version>${slf4j.version}</version>
-            <scope>provided</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-client</artifactId>
-            <version>${project.version}</version>
-            <type>test-jar</type>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.kudu</groupId>
-            <artifactId>kudu-${spark.version.label}_${scala.binary.version}</artifactId>
-            <version>${project.version}</version>
-            <type>test-jar</type>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>${junit.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-            <version>${log4j.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.scalatest</groupId>
-            <artifactId>scalatest_${scala.binary.version}</artifactId>
-            <version>${scalatest.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-log4j12</artifactId>
-            <version>${slf4j.version}</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <!-- set source dirs explicitly for the scalafmt plugin -->
-        <sourceDirectory>src/main/scala</sourceDirectory>
-        <testSourceDirectory>src/test/scala</testSourceDirectory>
-        <plugins>
-            <plugin>
-                <groupId>net.alchim31.maven</groupId>
-                <artifactId>scala-maven-plugin</artifactId>
-                <version>${scala-maven-plugin.version}</version>
-                <configuration>
-                    <charset>${project.build.sourceEncoding}</charset>
-                    <scalaVersion>${scala.version}</scalaVersion>
-                    <args>
-                        <!-- Emit warning and location for usages of features that should be imported explicitly. -->
-                        <arg>-feature</arg>
-                        <!-- Emit various static analysis warnings. -->
-                        <arg>-Xlint</arg>
-                    </args>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>scala-compile-first</id>
-                        <phase>process-resources</phase>
-                        <goals>
-                            <goal>add-source</goal>
-                            <goal>compile</goal>
-                        </goals>
-                    </execution>
-                    <execution>
-                        <id>scala-test-compile</id>
-                        <phase>process-test-resources</phase>
-                        <goals>
-                            <goal>testCompile</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-shade-plugin</artifactId>
-                <version>${maven-shade-plugin.version}</version>
-                <configuration>
-                    <artifactSet>
-                        <includes>
-                            <include>org.apache.kudu:kudu-client</include>
-                            <include>org.apache.kudu:kudu-client-tools</include>
-                            <include>org.apache.kudu:kudu-${spark.version.label}_${scala.binary.version}</include>
-                        </includes>
-                    </artifactSet>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.antipathy</groupId>
-                <artifactId>mvn-scalafmt</artifactId>
-            </plugin>
-        </plugins>
-    </build>
-</project>


Mime
View raw message