You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2013/10/18 02:34:42 UTC
[jira] [Resolved] (HBASE-9798) Include dependency hamcrest-core
[ https://issues.apache.org/jira/browse/HBASE-9798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Enis Soztutar resolved HBASE-9798.
----------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Committed this. Thanks Stack for looking.
> 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
>
> Attachments: hbase-9798_v1.patch
>
>
> 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)