Ensure examples are runnable in the ide

Motivation:

It seems like intellij / idea is confused because of shading of jctools.

Modifications:

Add jctools as dependency with scope runtime to the examples as workaround

Result:

Its possible again to run the examples in the ide.
This commit is contained in:
Norman Maurer 2016-06-15 14:25:01 +02:00
parent 87d9ecc2c9
commit aa8f7b395b

View File

@ -124,6 +124,14 @@
<artifactId>logback-classic</artifactId> <artifactId>logback-classic</artifactId>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<dependency>
<groupId>org.jctools</groupId>
<artifactId>jctools-core</artifactId>
<!-- Need runtime scope as otherwise idea is not able to run the examples -->
<!-- This is most likely a bug in idea -->
<scope>runtime</scope>
<optional>true</optional>
</dependency>
</dependencies> </dependencies>
<build> <build>