I'm trying to configure API check for Eclipse Passage project using
Tycho. Currently it fails with the message
[ERROR] Failed to execute goal org.eclipse.tycho.extras:tycho-p2-extras-plugin:1.5.1:compare-version-with-baselines |
Beware, compare-version-with-baselines isn't an API Check, it's a versioning check (it checks for no version moving backward and forces bumping versions after a release).
(compare-attached-artifacts-with-release) on project org.eclipse.passage.lic.api: Only qualifi
er changed for (org.eclipse.passage.lic.api/0.6.0.v20191209-0913). Expected to have bigger x.y.z than what is available in baseline (0.6.0.v20191203-0807) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho.extras:tycho-p2-extras-plugin:1.5.1:compare-version-with-baselines (compare-attached-artifacts-with-release) on p
roject org.eclipse.passage.lic.api: Only qualifier changed for (org.eclipse.passage.lic.api/0.6.0.v20191209-0913). Expected to have bigger x.y.z than what is available in baseline (0.6.0.v20191203-0807)
|
Actually I do not expect it to fail here as there is no change in
this bundle comparing to the last release baseline.
Build changes (like compiler settings, some volatile timestamp generation and so on) can lead to changes in the resulting jar even if there is no change in the source.
Then, coupled with version check, things usually work well.