hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Maven & HBaseTestingUtility reuse
Date Tue, 02 Mar 2010 16:20:48 GMT
Hi,

I would like to use HBaseTestingUtility in my own testcases, in a
Maven-based project.

I can introduce it in my project via:

    <dependency>
      <groupId>org.apache.hbase</groupId>
      <artifactId>hbase-core</artifactId>
      <classifier>tests</classifier>
    </dependency>

but this will not include the test-scoped dependencies of hbase-core
(such as mapred-test, hdfs-test), so I have to add these manually to
my project.

This could be solved by putting HBaseTestUtility in its own project
(hbase-test), with compile rather than test dependencies on things
like hdfs-test.

WDYT?

-- 
Bruno Dumon
Outerthought
http://outerthought.org/

Mime
View raw message