Hi

While I was trying to release the Sling Kickstart Project during ‘man deploy’ 
of the snapshots I ran into this issue (Sling Parent 38):

[INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0
[DEBUG] Building list of classes from dependencies
[DEBUG] Adding classes in artifact info.picocli:picocli:jar:3.9.6 to the ignores
[DEBUG] Adding classes in artifact commons-lang:commons-lang:jar:2.6 to the 
ignores
[DEBUG] Adding classes in artifact commons-io:commons-io:jar:2.6 to the ignores
[DEBUG] Adding classes in artifact org.osgi:osgi.core:jar:7.0.0 to the ignores
[DEBUG] Adding classes in artifact org.slf4j:slf4j-api:jar:1.7.25 to the ignores
[DEBUG] Adding classes in artifact 
org.apache.felix:org.apache.felix.framework:jar:6.0.3 to the ignores
[DEBUG] Adding classes in artifact 
org.codehaus.mojo:animal-sniffer-annotations:jar:1.9 to the ignores
[DEBUG] Adding classes in artifact 
org.apache.sling:org.apache.sling.feature.extension.content:jar:1.0.6 to the 
ignores
[DEBUG] Adding classes in artifact 
org.apache.sling:org.apache.sling.feature.launcher:jar:1.1.2 to the ignores
[ERROR] 
/Volumes/DataSSD/Development/madplanet.com/apache/sling-dev/sling.git.dev/sling-org-apache-sling-kickstart/target/classes/shaded/org/apache/jackrabbit/vault/fs/spi/impl/jcr20/JackrabbitUserManagement.class:88:
 Undefined reference: shaded.org.apache.jackrabbit.api.JackrabbitSession
[ERROR] 
/Volumes/DataSSD/Development/madplanet.com/apache/sling-dev/sling.git.dev/sling-org-apache-sling-kickstart/target/classes/shaded/org/apache/jackrabbit/vault/fs/spi/impl/jcr20/JackrabbitUserManagement.class:94:
 Undefined reference: shaded.org.apache.jackrabbit.api.JackrabbitSession
[ERROR] 
/Volumes/DataSSD/Development/madplanet.com/apache/sling-dev/sling.git.dev/sling-org-apache-sling-kickstart/target/classes/shaded/org/apache/jackrabbit/vault/fs/spi/impl/jcr20/JackrabbitUserManagement.class:94:
 Undefined reference: shaded.org.apache.jackrabbit.api.security.user.UserManager
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.058 s
[INFO] Finished at: 2020-05-07T17:07:37-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.codehaus.mojo:animal-sniffer-maven-plugin:1.17:check (default) on project 
org.apache.sling.kickstart: Execution default of goal 
org.codehaus.mojo:animal-sniffer-maven-plugin:1.17:check failed: An API 
incompatibility was encountered while executing 
org.codehaus.mojo:animal-sniffer-maven-plugin:1.17:check: 
java.lang.NoSuchMethodError: 
java.nio.CharBuffer.position(I)Ljava/nio/CharBuffer;
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.codehaus.mojo:animal-sniffer-maven-plugin:1.17
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy


I went passed that by skipping the animal sniffer execution as I could not 
figure out what actually goes wrong.

- Andy

Reply via email to