-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version Numbers for Milestones/releases must contain qualifier #112
Comments
For release artifacts deployed to Maven Central it is better to have artifacts without timestamp qualifier, and with a release qualifier ( For the p2 repository it is better to have timestamp qualifiers. This is especially important when using Tycho, which would rate the ".M1" qualifier higher as a release version without a qualifier. We have to adjust the build that we still deploy artifacts with the release qualifier, but for the repository build and the artifact metadata we want to stay with the default qualifier mechanism. One possible way would be to do two builds for releases: First set the version to the release version and run with |
have thought we already had this solved with
|
Though also so. But the build fails when versions do not match
|
The problem does not exist for release builds, where the POM version does not contain a qualifier. This raises only up for milestone builds, which leave Together with @cdietrich we came to the conclusion that for milestone builds the version in manifests have to be replaced by a qualifier as part of the versioning script that replaces the POM versions. |
When the pom.xml files are changed to use a milestone qualifier as part of their version, the MANIFEST.MF and feature.xml files have also be adjusted to contain a qualified version. It is not desired to have the milestone qualifier (e.g. 2.11.1.M1) in the p2 artifacts, but have a build time qualifier here. In contrast, the artifacts deployed to OSSRH should have the milestone qualifier, so this must be the POM version. Change-Id: If3ea2b140752492f6b68467b443c51cee2bb3f23 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
When the pom.xml files are changed to use a milestone qualifier as part of their version, the MANIFEST.MF and feature.xml files have also be adjusted to contain a qualified version. It is not desired to have the milestone qualifier (e.g. 2.11.1.M1) in the p2 artifacts, but have a build time qualifier here. In contrast, the artifacts deployed to OSSRH should have the milestone qualifier, so this must be the POM version. Change-Id: If3ea2b140752492f6b68467b443c51cee2bb3f23 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
@kthoms anything left? |
i wonder if there is really no change to have proper version numbers for milestones / releases
(qualifier vs M1)
The text was updated successfully, but these errors were encountered: