OHDSI Home | Forums | Wiki | Github

Maven trouble in mac os

Doing fresh WebAPI install in Mac OS, but running into trouble in maven generating webapi.war.

[ERROR] Failed to execute goal on project WebAPI: Could not resolve dependencies for project org.ohdsi:WebAPI:war:2.10.1: Failed to collect dependencies at org.ohdsi:SkeletonCohortCharacterization.jar:1.2.0 → com.odysseusinc.arachne-common-utils.jar: 1.16.3: Failed to read artifact descriptor for com.odysseusinc.arachne:arachne-common-utils.jar:1.16.3: Could not transfer artifact.com.odysseusinc.arachne:arachne-common-utils:1.16.3 from/to maven maven-default-http-blocker (http://0.0.0.0/):Blocked mirror for repositories: [ohdsi (http://repo.ohdsi.org:8085/nexus/content/repositories/releases, default, releases+snapshots), ohdsi.snapshots (http://repo.ohdsi.org:8085/nexus/content/repositories/snapshots, default, snapshots)]

WebAPI: v2.10.1
Maven: 3.8.4
Postgres.app v14
OpenJDK 11.0.11+9
PgAdmin4 v6.5

Yes, there’s an out of date repository URL found in the SkeletonCohortCharacterization.jar. This has been fixed in 1.2.1 (which will be referenced in the 2.11 version of WebAPI).

The master branch has been updated, so if you are building from the latest release, you can get the fix right away. We will need to push a hotfix to v2.10 if you’d like to remain on the 2.10 release.

1 Like
t