Closed GoogleCodeExporter closed 9 years ago
Hey, I got a similar problem, but not with JMock though.
I tried to use hamcrest-core and hamcrest-library on Android, but the Android
project failed to build, same error message as the above.
The solution is to either remove the LICENCE.txt files, or put them inside each
of the META-INF folder in the jar.
Keep up the good work guys, hamcrest is cool!
Original comment by llaec...@gmail.com
on 22 Jan 2011 at 5:40
Could the next maven release of Hamcrest include this alteration to the
location of the LICENCE.txt file? I'm getting the clash problem with both
version 1.2.1 & 1.3RC2 - this is trying to use 'hamcrest-library', which of
course includes hamcrest-core as a dependency - all I want are some nice
marchers beyond the core ones!
Original comment by roberto....@gmail.com
on 18 Feb 2011 at 7:52
Super-awesomely, it looks like the next version of the maven-android-plugin
(v2.9.0, as yet unreleased) will have duplicate-detection-and-removal, allowing
builds to proceed even with the collisions in hamcrest-core & hamcrest-library:
http://code.google.com/p/maven-android-plugin/issues/detail?id=123
Original comment by roberto....@gmail.com
on 21 Feb 2011 at 11:55
tagging
Original comment by t.denley
on 12 May 2012 at 10:45
I've just moved the LICENSE.txt file into the META-INF directory of the
hamcrest jars. See commit
https://github.com/hamcrest/JavaHamcrest/commit/9e2a15913122e216752280c0f89f8215
aaa23b43
This will not take effect until the next release.
Original comment by t.denley
on 29 Jul 2012 at 9:18
Original issue reported on code.google.com by
oliver....@gmail.com
on 12 Oct 2010 at 3:32