[MGNLIMG-167] Impossible using POM 31 Created: 16/Jul/15  Updated: 19/Feb/18  Resolved: 19/Feb/18

Status: Closed
Project: Imaging
Component/s: None
Affects Version/s: 3.1.x
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Evzen Fochr 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 MGNLADMLEG-62 Dependencies use/bring in libraries i... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

admininterface-legacy and maybe some other dependencies are causing this error.

[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;


 Comments   
Comment by Mikaël Geljić [ 16/Nov/15 ]

efochr What do you mean exactly here by "using"? —it seems imaging was already using POM 31 for a month when you filed this issue... Is that obsolete?

Comment by Evzen Fochr [ 18/Nov/15 ]

As i remember i found it while release of M5.3.x Added 3.1.x to affected version column.

Comment by Mikaël Geljić [ 24/Nov/15 ]

Right, my bad :# Still we might want to address it, as it could point to things that are currently not working under java 7 for those modules built with Java 6. I agree the output could be more informative though. Other guys seem to face the same issue as animal-sniffer seems to account for transitive usages within libraries.
See also http://stackoverflow.com/questions/18821440/how-to-find-the-source-of-an-error-from-maven-animal-sniffer-plugin

Comment by Mikaël Geljić [ 19/Feb/18 ]

on PPOMs 34 by now

Generated at Mon Feb 12 02:12:56 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.