FLUME-2400. Dataset Sink is not built in hbase-98 profile

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

Branch: refs/heads/flume-1.6
Commit: ca671b2cb9ab6c8055224ffd0ed2ff0eaef3903d
Parents: 9cb7ed3
Author: Hari Shreedharan <[email protected]>
Authored: Tue Jun 10 12:01:16 2014 -0700
Committer: Hari Shreedharan <[email protected]>
Committed: Tue Jun 10 13:56:46 2014 -0700

----------------------------------------------------------------------
 flume-ng-dist/pom.xml  | 15 +++++++++++++++
 flume-ng-sinks/pom.xml | 16 ++++++++++++++++
 2 files changed, 31 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flume/blob/ca671b2c/flume-ng-dist/pom.xml
----------------------------------------------------------------------
diff --git a/flume-ng-dist/pom.xml b/flume-ng-dist/pom.xml
index 7821dc0..8c18af6 100644
--- a/flume-ng-dist/pom.xml
+++ b/flume-ng-dist/pom.xml
@@ -79,6 +79,21 @@
         </dependency>
       </dependencies>
     </profile>
+    <profile>
+      <id>hbase-98</id>
+      <activation>
+        <property>
+          <name>hadoop.profile</name>
+          <value>hbase-98</value>
+        </property>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.flume.flume-ng-sinks</groupId>
+          <artifactId>flume-dataset-sink</artifactId>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 
   <dependencies>

http://git-wip-us.apache.org/repos/asf/flume/blob/ca671b2c/flume-ng-sinks/pom.xml
----------------------------------------------------------------------
diff --git a/flume-ng-sinks/pom.xml b/flume-ng-sinks/pom.xml
index c919605..3381bde 100644
--- a/flume-ng-sinks/pom.xml
+++ b/flume-ng-sinks/pom.xml
@@ -74,6 +74,22 @@ limitations under the License.
       </modules>
     </profile>
 
+    <profile>
+      <id>hbase-98</id>
+      <activation>
+        <property>
+          <name>hadoop.profile</name>
+          <value>hbase-98</value>
+        </property>
+      </activation>
+      <!-- add the flume-dataset-sink, which is only compatible with hadoop-2
+           -->
+      <modules>
+        <module>flume-dataset-sink</module>
+      </modules>
+    </profile>
+
+
   </profiles>
 
 </project>

Reply via email to