What is the best way to publish an Eclipse repository version (update site and products) AND a Maven repository version ?
Summary
My question is for a Papyrus build, but I think it's a generic question.
On that page, https://wiki.eclipse.org/Tycho:How_to_deploy_to_a_Maven_repository#Release_Process, I saw that I needed to remove "-SNAPSHOT" and ".qualifier" from any version numbers in the release branch to publish to a Maven repository and target the "releases" folder. But for this, I need to add a new commit (different from the one used to build the version for Eclipse). Is it expected ?
It seems strange for me to have two different commits for the same version (one for Eclipse and one for Maven). But I don't master Maven processes.
Steps to reproduce
I've not really steps to reproduce.
I use the job Papyrus-Desktop-Designer-Deploy-EclipseUpdateSite-And-RCP to publish to Eclipse, more precisely the #91 (a respin of #90 that had a wrong products archive file version number).
I use the job Papyrus-Desktop-Designer-Deploy-MavenRepository to publish to Maven, more precisely the #19.
The commits use for these jobs are not the same. And with the commit for Maven, the product build fails with these kind of error :
02:37:37 [INFO] --- tycho-p2-publisher:4.0.12:publish-products (default-publish-products) @ org.eclipse.papyrus.designer.product ---
02:37:38 [ERROR] Cannot resolve dependencies of product papyrusDesigner.product:
02:37:38 [ERROR] eclipse-feature artifact with ID "org.eclipse.papyrus.designer.rcp.feature" and version matching "0.0.0" was not found in the target platform
This problem is not the subject of the ticket. I'm just mentioning it in case anyone has an explanation for this error. Could it be caused by the fact that there is no longer ".qualifier/-SNAPSHOT" and that the product build process is not suitable for this state?
Priority
-
Urgent -
High -
Medium -
Low
Severity
-
Blocker -
Major -
Normal -
Low