OHDSI Home | Forums | Wiki | Github

ODHSI WebAPI - Unable to download the maven dependencies

Hi,

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.

Regards
Ram

Which dependencies are you having an issue obtaining?

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.

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: Broken WebAPI Builds due to changes in Maven repository by JamesSWiggins · Pull Request #1421 · OHDSI/WebAPI · GitHub.

1 Like
t