somehow my server file was emptied by OSX i don’t know how and it took me some minutes before i learnt that, adding content to it saved
Well looks like this grey area has come into play as I was trying to deploy UgandaEMR to jfrog and failed.
Is there any way forward and guidance on this @burke @dkayiwa
Can you share the entire log instead of one line?
Did mvn release:prepare and mvn release:perform succeed?
@dkayiwa release:prepare succeeded, release:perform failed at deploying the artifacts to the maven repository with the 401 error
I have run both commands successfully on your module. Can you check if all is as you would expect for a version 2.0.4 of your module?
That seems to work, can you share a sanitized version of your .m2/settings.xml as a starting point.
Then I will only attribute it to bintray permissions since they were locked down
Here we go: https://pastebin.com/KyBPeqQA
Where ‘name’ and ‘password’ should be replaced with yours.
Strange I get the same error when I try to release a different module - in this case data integrity
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project dataintegrity: Failed to deploy artifacts: Could not transfer artifact org.openmrs.module:dataintegrity:pom:4.4.2 from/to openmrs-repo-modules (http://mavenrepo.openmrs.org/nexus/content/repositories/modules/): Failed to transfer file https://openmrs.jfrog.io/openmrs/modules/org/openmrs/module/dataintegrity/4.4.2/dataintegrity-4.4.2.pom with status code 401 -> [Help 1]
I am wondering what is wrong with my setup
401 is a permission problem. I remember @raff did transfer of some accounts from nexus to the new infrastructure.
So, where’s what I need:
- Deployment management session from your pom files (and check if you have it multiple times in your repo
- username you are trying to use from your .m2 repo
I need the distributionmanagement session from your pom file, the one on the repository!
@cintiadr for the offending modules
-
Data Integrity Module - https://github.com/openmrs/openmrs-module-dataintegrity/blob/master/pom.xml#L249-L260
-
UgandaEMR - https://github.com/METS-Programme/openmrs-module-aijar/blob/master/pom.xml#L543-L554
-
UgandaEMR Reports - https://github.com/METS-Programme/openmrs-module-ugandaemr-reports/blob/master/pom.xml#L220-L231