Thanks @mksd for bringing it back to this… I did indeed suggest we keep the snapshots of the reference application module around, at least until we come up with a better solution:
Any objections to setting this up? Any does anyone know how to configure the repo to set this up?
Hi @bholagabbar@mogoodrich@cintiadr and everyone else involved in this thread. We would like to discuss this topic on the May 26th dev forum would you all be able to join the call?
Since this is an engineering policy decision, I’d encourage us to keep the conversation here where everyone has the opportunity to participate and provide feedback, rather than doing it on a phone call with very limited participation.
Who is the person that has the final decision about how to proceed with version retention?
@michael, I don’t think there’s much further to discuss, as far as policy goes.
We have basically decided to try this quick fix. I will own this decision (as former RefApp lead, without any replacement at this point).
The question is, can we retain SNAPSHOT versions of org.openmrs.distro.referenceapplication in maven, without retaining snapshots of all the other artifacts? And who can configure this?
It looks like Neuxs currently has a configuration for a scheduled task of “Remove Snapshots from Repository” which runs hourly. Related, there is an “Empty Trash” job which runs daily.
However, there is also a “Remove Unused Snapshots From Repository” job available, that would restrict only to unused snapshots. I’m not sure how exactly this is measured, or if it would work for this scenario.
Scheduled tasks can be adjusted by any user with the “Nexus Administrator” role, which currently includes: Burke, Daniel, Darius, Fred Chen, Matt Blanchette, Mayank, Rowan Seymour, & Saptarshi.
But when I changed this and did a mvn clean deploy I got this message:
ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project referenceapplication: Failed to deploy artifacts: Could not transfer artifact org.openmrs.distro:referenceapplication:pom:2.4-20160503.182542-1 from/to openmrs-repo-modules (JFrog): Failed to transfer file: JFrog. Return code is: 400, ReasonPhrase: Bad Request. → [Help 1]