[BUILD-407] Improve API compatibility reports Created: 22/Oct/20  Updated: 28/Apr/21  Resolved: 19/Nov/20

Status: Closed
Project: Build
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Critical
Reporter: Mikaël Geljić Assignee: Maxime Michel
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 37m
Original Estimate: Not Specified

Issue Links:
Relates
relates to BUILD-459 japicmp fails for new (sub)module whe... Closed
relation
is related to BUILD-417 Remove Clirr plugin Closed
is related to BUILD-418 japicmp won't parse Magnolia major re... Closed
supersession
Template:
Acceptance criteria:
Empty
Date of First Response:
Epic Link: Improve QA setup
Story Points: 5

 Description   

Following research at BUILD-383, let's finalize implementation of API compatibility checks, on parent-poms & CI-level, with japicmp.

  • Finalize maven config: from ui-framework, to ui (reactor parent), to parent-pom profile
  • Finalize pipeline config: collect artifacts w/ different names, or an aggregate
  • Document conventions, how to remediate (analog to CVE scans page)


 Comments   
Comment by Roman Kovařík [ 30/Nov/20 ]

For the record, encountered an issue for new modules (without a previous version):

[INFO] --- japicmp-maven-plugin:0.14.3:cmp (default-cli) @ magnolia-yaml-schema ---
[INFO] Unable to find a previous version of the project in the repository.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  20.002 s
[INFO] Finished at: 2020-11-30T09:05:40+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.siom79.japicmp:japicmp-maven-plugin:0.14.3:cmp (default-cli) on project magnolia-yaml-schema: Please provide at least one resolvable old version using one of the configuration elements <oldVersion/> or <oldVersions/>. -> [Help 1]
Generated at Sun Feb 11 23:41:38 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.