hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-9798) Include dependency hamcrest-core
Date Thu, 17 Oct 2013 23:26:41 GMT
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)

Mime
View raw message