Hi,
I am getting

ERROR] Failed to execute goal
org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check (default) on
project org.apache.sling.event: Execution default of goal
org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check failed: An API
incompatibility was encountered while executing
org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check:
java.lang.NoSuchMethodError:
java.nio.CharBuffer.subSequence(II)Ljava/nio/CharBuffer;
[ERROR] -----------------------------------------------------


I think is due to a dependency rather (mockito) than the code since
indicating JDK 1.6 eliminated the problem. (-Dsling.java.version=6)

Going all the way back to mockito 1.8.0 doesn't fix the issue. Has
anyone else seen the same problem ?
Ian

Reply via email to