json-simple has a 'compile' scope dependency on junit. This is a bug,
but there is no fixed release. oak-core can easily work-around this by
adding an exclusion in its POM, otherwise everyone who has a
dependency on either oak-jcr or oak-core has to implement the
work-around in their POMs.

Original:

<dependency>
      <groupId>com.googlecode.json-simple</groupId>
      <artifactId>json-simple</artifactId>
      <version>1.1.1</version>
      <!--<optional>true</optional>-->
</dependency>

Fixed:

<dependency>
      <groupId>com.googlecode.json-simple</groupId>
      <artifactId>json-simple</artifactId>
      <version>1.1.1</version>
      <!--<optional>true</optional>-->
      <exclusion>
          <artifactId>junit</artifactId>
          <groupId>junit</groupId>
      </exclusion>
</dependency>

Reply via email to