[MGNLADMLEG-62] Dependencies use/bring in libraries incompatible with java 1.6 Created: 23/Feb/16  Updated: 19/Feb/18  Resolved: 19/Feb/18

Status: Closed
Project: Admininterface Legacy 4.x (closed)
Component/s: None
Affects Version/s: 5.2.4
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Philip Mundt Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLIMG-167 Impossible using POM 31 Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

When enabling the animal-sniffer plugin the build of the module will fail due to incompatibilities detected. The libraries are not used in our code.

Current workaround

For the time being, the animal-sniffer plugin was disabled.

Error displayed when building module
[ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.14:check (check-java-api-compatibility) on project magnolia-module-legacy-admininterface: Execution check-java-api-compatibility of goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.14:check failed: An API incompatibility was encountered while executing org.codehaus.mojo:animal-sniffer-maven-plugin:1.14:check: java.lang.NoSuchMethodError: java.nio.CharBuffer.subSequence(II)Ljava/nio/CharBuffer;
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.codehaus.mojo:animal-sniffer-maven-plugin:1.14
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/pmundt/.m2/repository/org/codehaus/mojo/animal-sniffer-maven-plugin/1.14/animal-sniffer-maven-plugin-1.14.jar
[ERROR] urls[1] = file:/Users/pmundt/.m2/repository/org/codehaus/mojo/animal-sniffer/1.14/animal-sniffer-1.14.jar
[ERROR] urls[2] = file:/Users/pmundt/.m2/repository/org/ow2/asm/asm-all/5.0.3/asm-all-5.0.3.jar
[ERROR] urls[3] = file:/Users/pmundt/.m2/repository/org/codehaus/mojo/java-boot-classpath-detector/1.14/java-boot-classpath-detector-1.14.jar
[ERROR] urls[4] = file:/Users/pmundt/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.1/maven-reporting-api-2.0.1.jar
[ERROR] urls[5] = file:/Users/pmundt/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-6/doxia-sink-api-1.0-alpha-6.jar
[ERROR] urls[6] = file:/Users/pmundt/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
[ERROR] urls[7] = file:/Users/pmundt/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
[ERROR] urls[8] = file:/Users/pmundt/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar
[ERROR] urls[9] = file:/Users/pmundt/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
Possible todo

Identify source of import.


Generated at Sun Feb 11 23:09:13 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.