You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2013/10/18 01:26:42 UTC

[jira] [Created] (HBASE-9798) Include dependency hamcrest-core

Enis Soztutar created HBASE-9798:
------------------------------------

             Summary: Include dependency hamcrest-core
                 Key: HBASE-9798
                 URL: https://issues.apache.org/jira/browse/HBASE-9798
             Project: HBase
          Issue Type: Bug
          Components: build, test
            Reporter: Enis Soztutar
            Assignee: Enis Soztutar
             Fix For: 0.98.0, 0.96.1


We exclude hamcrest-code dependency from junit: 
{code}
<dependencyManagement>
   <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>${junit.version}</version>
        <exclusions>
          <exclusion>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-core</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
{code}

However, running ITTD fails with hadoop1 and 2 tarballs: 
{code}
bin/hbase org.apache.hadoop.hbase.IntegrationTestsDriver
...
Exception in thread "main" java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing
	at java.lang.ClassLoader.defineClass1(Native Method)
{code}





--
This message was sent by Atlassian JIRA
(v6.1#6144)