Closed kwin closed 2 years ago
The message text is not great. What it is trying to say is that if you changed the type to be @ProviderType
(instead of the default of @ConsumerType
), then the version 2.4.0 would be suggested.
I see, the message should be more verbose. Something along the lines of
suggest 3.0.0 (or 2.4.0 when the type is changed to @ProviderType for the affected classes)
Yes, something like that.
Why do I get the error
Baseline mismatch for package org.apache.jackrabbit.vault.fs.spi, MAJOR change. Current is 2.4.0, repo is 2.4.0, suggest 3.0.0 or 2.4.0
which fails the build, if it states that either version 2.4.0 or 3.0.0 should work and 2.4.0 is set? It should only fail if 3.0.0 is required (which should be reflected in the error message).You can reproduce with https://github.com/apache/jackrabbit-filevault/pull/169 (https://ci-builds.apache.org/blue/organizations/jenkins/Jackrabbit%2Ffilevault/detail/PR-169/4/pipeline/22/)
The full error is