Comment #1 on issue 91 by
xcolw...@gmail.com: MAVEN, json-simple 1.1.1
This is a one line fix, as the reporter has noted:
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<!-- FIXME --> <scope>test</scope>
</dependency>
There is no reason to include junit as a runtime dependency. It also throws
off the Android linker. To work around, you can use exclusions in your
project's POM:
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1.1</version>
<exclusions>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
<!-- maven note: must manually exclude all ancestors
see
http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html
-->
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</exclusion>
</exclusions>
</dependency>