[BUILD-459] japicmp fails for new (sub)module when oldVersion doesn't exist yet Created: 28/Apr/21  Updated: 10/Aug/22  Resolved: 10/Aug/22

Status: Closed
Project: Build
Component/s: Poms
Affects Version/s: POMs 41
Fix Version/s: POMs 48

Type: Bug Priority: Major
Reporter: Milan Divilek Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to BUILD-407 Improve API compatibility reports Closed
relates to MGNLEESOLR-158 Productise solrfn Closed
Template:
Acceptance criteria:
Empty
Team: Foundation

 Description   

For new (sub)module where oldVersion doesn't exit yet, japicmp fails with

[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/>.

This can be simple fixed by adding ignoreMissingOldVersion=true into japicmp configuration. https://github.com/siom79/japicmp/issues/153


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