Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Auto Closed
-
None
-
None
-
None
Description
When releasing, all dependencies should be of a final version.
If it depends on patched versions of certain projects, you'd have to release those patched versions first to your own repo-manager (if you can't wait for the real release).
For deploying SNAPSHOT's it would be
mvn deploy -DaltDeploymentRepository=id::layout::url
For releasing I think it should be something like:
mvn release:prepare -DtagBase=
mvn release:perform -Darguments="-DaltDeploymentRepository=id::layout::url" -Dgoals=deploy
Also, the version should be based on the latest release version, extended with something like -1-myCompany
I believe this is realistic usecase and it would be great if it could be documented.