Hi Andrew,

thanks for reporting this problem. We didn't notice this problem
because oak-core has an explicit dependency on junit with scope
'test'.

It turns out oak-core doesn't even need a compile time dependency
on json-simple. See: https://issues.apache.org/jira/browse/OAK-3636

Regards
 Marcel

On 14/11/15 13:23, "Andrew Cottrell" wrote:

>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