How to do a release build for mylyn.docs with maven? #699
Unanswered
parasharjoshi
asked this question in
Q&A
Replies: 1 comment 4 replies
-
I think the problem is that we use a manifest first approach for mylyn and a pom first approach for mylyn docs. For mylyn we do never remove the -snapshot so that a release always has a -datetime suffix and the pom dependency has to use that -datetime suffix to. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to do a release build (on main or for a releases like 4.6.0) as the default build generates artifacts with qualifier (snapshot)?
I tried
mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion="4.6.0"
from repo root, followed by
mvn clean install -B -Dmaven.test.skip -Dmaven.test.failure.ignore=true -Dmaven.test.error.ignore=true -Ddash.fail=false -Dbuild.type=release
But that messes up the poms/manifests and build fails with some references still pointing to 4.6.0-snapshot.
Took some parameters from the jenkins file but does not seem to affect the release build and still generates snapshots.
So wanted to know what is the right way to go with a release build with maven.
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions