Anyone know if there were any changes to the mavenrepo.openmrs.org credentials recently (sometime after 1pm yesterday, August 5th)?
All of sudden, our CI server here at PIH is unable to deploy to mavenrepo with error listed below–last successful upload was at 1:40pm yesterday.
Looks like OpenMRS CI is still deploying properly.
build 05-Aug-2015 17:26:54 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project pihcore: Failed to deploy artifacts: Could not transfer artifact org.openmrs.module:pihcore:pom:1.0-20150805.212654-584 from/to openmrs-repo-snapshots (JFrog): Failed to transfer file: JFrog. Return code is: 401, ReasonPhrase: Unauthorized. → [Help 1]
When you are deploying a module to nexus repository using: mvn clean deploy command You may get an error message like:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project…Return code is: 401, ReasonPhrase:Unauthorized.
To solve this you need to add a server for the module repo by adding the following with Nexus repository credentials to the list of servers in the file /M2_HOME/settings.xml.
I’ll double-check, but we haven’t touched the settings.xml on our bamboo server in ages, so I was double-checking if there was any recent account management or clean-up where that account may no longer have access.