Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369717 - Cannot resolve org.hamcrest import in Mockito bundle
Summary: Cannot resolve org.hamcrest import in Mockito bundle
Status: NEW
Alias: None
Product: Orbit
Classification: Tools
Component: bundles (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ketan Padegaonkar CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 403676
Blocks:
  Show dependency tree
 
Reported: 2012-01-25 13:10 EST by Patrick Paulin CLA
Modified: 2013-11-12 03:28 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Paulin CLA 2012-01-25 13:10:49 EST
Build Identifier: 

The org.hamcrest.core bundle exports the org.hamcrest package with a mandatory core=split attribute. It looks like this causes the Mockito import to fail at runtime.

For more information, see bug 334540.


Reproducible: Always
Comment 1 Jeremie Bresson CLA 2013-11-12 03:28:28 EST
We are considering to solve this with an update to the latest version of Mockito:
=> see Bug 403635

Before moving on Bug 403635 we need to solve the dependency to Hamcrest that is not solved the same way between JUnit and Mockito. => see Bug 403676