kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject [1/2] incubator-kudu git commit: Create jar-with-dependency from Kudu Flume sink
Date Sun, 03 Apr 2016 02:13:30 GMT
Repository: incubator-kudu
Updated Branches:
  refs/heads/master fd556b2fd -> a6dfbf6de


Create jar-with-dependency from Kudu Flume sink

This will allow the sink to easily be used with the Flume plugins.d
mechanism.

Change-Id: Ie15f0070f580936e27b32b21e001f7e16d84b136
Reviewed-on: http://gerrit.cloudera.org:8080/2712
Tested-by: Kudu Jenkins
Reviewed-by: Jean-Daniel Cryans


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

Branch: refs/heads/master
Commit: 90af0ea581cb8a2fd4af1f3dcf4c29585f50f719
Parents: fd556b2
Author: Mike Percy <mpercy@apache.org>
Authored: Fri Apr 1 19:10:50 2016 -0700
Committer: Jean-Daniel Cryans <jdcryans@gerrit.cloudera.org>
Committed: Sun Apr 3 00:23:38 2016 +0000

----------------------------------------------------------------------
 java/kudu-flume-sink/pom.xml | 38 ++++++++++++++++++++++++++++++++------
 1 file changed, 32 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/90af0ea5/java/kudu-flume-sink/pom.xml
----------------------------------------------------------------------
diff --git a/java/kudu-flume-sink/pom.xml b/java/kudu-flume-sink/pom.xml
index 092b135..efea7f7 100644
--- a/java/kudu-flume-sink/pom.xml
+++ b/java/kudu-flume-sink/pom.xml
@@ -24,29 +24,55 @@
     <flume.version>1.6.0</flume.version>
   </properties>
 
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <version>${maven-assembly-plugin.version}</version>
+        <configuration>
+          <descriptorRefs>
+            <descriptorRef>jar-with-dependencies</descriptorRef>
+          </descriptorRefs>
+        </configuration>
+        <executions>
+          <execution>
+            <id>make-assembly</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
   <dependencies>
     <dependency>
-      <groupId>org.apache.flume</groupId>
-      <artifactId>flume-ng-sdk</artifactId>
-      <version>${flume.version}</version>
+      <groupId>org.kududb</groupId>
+      <artifactId>kudu-client</artifactId>
+      <version>${project.version}</version>
     </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.kududb</groupId>
-      <artifactId>kudu-client</artifactId>
-      <version>${project.version}</version>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+      <version>${slf4j.version}</version>
+      <scope>provided</scope>
     </dependency>
 
     <dependency>


Mime
View raw message