OHDSI Home | Forums | Wiki | Github

ODHSI WebAPI - Unable to download the maven dependencies


(Ram Mittala) #1


I am trying to build the WebAPI project in my local and I have downloaded the source code from GitHub @https://github.com/OHDSI/WebAPI

It seems Maven repo configured in the POM is no longer active and unable to reach them.

Can you pls suggest me that if there any other alternate repo locations can to be configured ?

Thanks in advance for your support.


(Frank DeFalco) #2

Which dependencies are you having an issue obtaining?

(Adam Black) #3

I’m having trouble accessing http://redshift-maven-repository.s3-website-us-east-1.amazonaws.com/ which is in the pom.xml for the WebAPI release 2.7.5. I also needed to change http://repo.maven.apache.org/maven2/ to https:// repo.maven.apache.org/maven2/ in the repositories section of pom.xml

I’m new to all this so could be making one or more obvious mistakes.

(Anthony Sena) #4

Hi @Adam_Black - you are not alone in this problem. This is due to the fact that Maven now requires an SSL connection per this article:

We’re working on publishing a hotfix for WebAPI (v2.7.6) that will fix this. In the meantime, @JamesSWiggins has provided a fix for this problem as shown here: https://github.com/OHDSI/WebAPI/pull/1421.