Skip to content

How to solve: "baseline and build for xyz.class have different contents" ? #2406

Answered by merks
fedejeanne asked this question in Q&A
Discussion options

You must be logged in to vote

The API baseline replacement stuff is quite fussy. Firstly, it does not like it when a new artifact is produced that has the same artifact ID (fully qualified version) as in the baseline(s). It also doesn't like a new artifact that has only a qualifier increment, so typically the first change to a bundle for a release cycle requires at least a micro/service increment (of 100). But after that, it's still possible that something changes, e.g., the compiler produces new different bytes. At this point there will again be complaints about the artifact being different but having the same version. So I think there are conceptually kind two baselines, the API baseline from the most-recent release…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@iloveeclipse
Comment options

@merks
Comment options

merks Oct 7, 2024
Collaborator

@fedejeanne
Comment options

fedejeanne Oct 8, 2024
Collaborator Author

@iloveeclipse
Comment options

@fedejeanne
Comment options

fedejeanne Oct 8, 2024
Collaborator Author

Answer selected by fedejeanne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants