Details
-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
None
Description
5.7.12's release has us realize that the following doesn't work:
// look for potential staged dependencies sh "mvn versions:use-releases -DgenerateBackupPoms=false -Pstaging"
It doesn't pick up on staged repositories, and it also updates other, unwanted dependencies.
This is critical in order to automate a release because if the SNAPHOTs stay, the release will fail. Also, we do not want a developer manually updating the pom.xml at every step of the way.
It should be possible to resolve a list of staged repositories using the following endpoint, though: https://nexus.magnolia-cms.com/service/local/staging/profile_repositories (see sample XML file)
Maybe using Nexus 3 or Artifactory and its neat CLI would be other solutions.
Or by using a GAV search.
Checklists
Acceptance criteria