Version semantic of release for both eclipse and maven [message #1859267] |
Thu, 25 May 2023 09:32 |
Didier Vojtisek Messages: 31 Registered: July 2009 |
Member |
|
|
Hi
For our developpements, we used to develop eclipse plugin using the .qualifier in all the plugins.
when using tycho, a 1.0.0.qualifier is mapped to 1.0.0-SNAPSHOT
so far so good, we used to deploy those plugins only via update site so we can let the .qualifier all the time.
However, we now wish to make most (or at least a significant subset) of the plugins available in maven central. (we compile each project twice with 2 different pom.xml, one for tycho and use in update site, and one for maven by reproducing the dependencies using only maven central jars)
when doing a release in maven central, this requires to remove the -SNAPSHOT in order to publish it.
But I'm not sure about the real semantic there since (correct me if I'm wrong)
for OSGI :
1.0.0 < 1.0.0.qualifier
and for maven :
1.0.0-SNAPSHOT < 1.0.0
Any suggestion about how to correctly change versions when doing a release ? (removing both the .qualifier/-SNAPSHOT ?, removing only -SNAPSHOT in non tycho version ? , replacing .qualifier/-SNAPSHOT by a fixed buildID everywhere ? ....)
How other project achieve that ?
thanks
[Updated on: Thu, 25 May 2023 09:32] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03370 seconds