FHIR Chat · recent mvn install failure · hapi

Stream: hapi

Topic: recent mvn install failure


view this post on Zulip Edward Castagna (Apr 17 2020 at 19:25):

when I run mvn install for the downloaded hapi-fhir-jpaserver (for instance version 4.2.0) it's failing during the build on my desktop Windows 10, but it seems to be behaving on centos and windows server. It appears that within the enforcer plugin downloaded in the mvn local repository in .m2 there is a reference to central.maven.org repository. when I go and search for http://central.maven.org it's not resolved. Is this a good place to note this kind of concern?

view this post on Zulip karthik Iyer (Mar 07 2022 at 14:08):

hello,
I'm looking at building a new version of hapi-fhir-client.

when i do mvn clean install
I see
` Execution default of goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.2:checkstyle failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:3.1.2 or one of its dependencies could not be resolved: Failure to find ca.uhn.hapi.fhir:hapi-fhir-checkstyle:jar:6.0.0-PRE5-SNAPSHOT in https://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced

what am i doing wrong ?

view this post on Zulip Gaurav Vaishnav (Mar 08 2022 at 05:31):

karthik Iyer said:

hello,
I'm looking at building a new version of hapi-fhir-client.

when i do mvn clean install
I see
` Execution default of goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.2:checkstyle failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:3.1.2 or one of its dependencies could not be resolved: Failure to find ca.uhn.hapi.fhir:hapi-fhir-checkstyle:jar:6.0.0-PRE5-SNAPSHOT in https://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced

what am i doing wrong ?

Not sure about solution,
if u r building hapi-fhir-client project individually(without parent pom) then copy checkstyle folder from "_hapi-fhir/src/" to ur "_project/src_"
then try to build it again


Last updated: Apr 12 2022 at 19:14 UTC