mksrom
(Romain Buisson)
January 9, 2018, 4:37pm
1
Hi!
I am unable to build the bahmni-offline-sync module on master
I suspect the dependencies repos are not public (?):
...
[WARNING] s3://repo.mybahmni.org/artifactory/snapshot - Connection refused
[INFO] Logged off - repo.mybahmni.org
...
Full log: https://paste.ubuntu.com/26353903/
Any idea?
Bahmni S3 repo is public. But I have faced this before. Usually retrying sometime later works.
(I had the impression that S3 goes awry when we are pushing new builds)
mksrom
(Romain Buisson)
January 10, 2018, 4:53pm
3
Thanks. I have retried today and still no luck. Same error.
Maybe the dependency is simply not available on the repo?
@mksrom I tried running it in my local and it builds. Can you try again and let us know?
Are you trying on the latest code?
mksrom
(Romain Buisson)
January 10, 2018, 5:55pm
5
I am trying on the tip of master.
However, it does build if you have the bahmni.ie.apps 0.91-SNAPSHOT built previously because it available in your .m2/ (thanks @mksd for this)
Could you try to remove this artifact and try again?
rm -R .m2/repository/org/bahmni/module/bahmni.ie.apps-api/0.91-SNAPSHOT/
binduak
(Himabindu Akkinepalli)
January 12, 2018, 11:21am
7
Even I can see the artifact in the s3 repo. We will work on the issue. For time being please change
s3://repo.mybahmni.org/artifactory/snapshot to http://repo.mybahmni.org/artifactory/snapshot
in pom.xml.
2 Likes
mksrom
(Romain Buisson)
January 12, 2018, 11:31am
8
Thank you @binduak I can confirm this works.
Just did a PR for this: PR#2
[EDIT]
Sorry I haven’t noticed you said it is temporary solution only. Please forget about the PR then…