38
votes

I have the following maven dependency

   <dependency>
      <groupId>org.apache.hbase</groupId>
      <artifactId>hbase</artifactId>
      <version>0.90.4</version>
      <type>test-jar</type>
      <scope>test</scope>
    </dependency>

I know how to specify groupId,artifactId, version and scope

 "org.apache.hbase" % "hbase" % "0.90.4" % "test"

but how do I specify the type (test-jar) so that I'd get hbase-0.90.4-tests.jar from the repo?

1

1 Answers

58
votes

"org.apache.hbase" % "hbase" % "0.90.4" % "test" classifier "tests"