Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with oss-snapshots #517

Open
jigarpota opened this issue Apr 5, 2023 · 0 comments
Open

Issue with oss-snapshots #517

jigarpota opened this issue Apr 5, 2023 · 0 comments

Comments

@jigarpota
Copy link

Hi Team,

I cloned the repo on my local running on Linux AWS workspace & updated the docker-compose.yaml as well as application.yaml file for postgreSQL database as per the setup instructions given with this github repo.

While building the docker image using build.docker-image.sh I am facing the below issue:

[4a6w0zn7mjcy hapi-fhir-jpaserver-starter]$ ./build-docker-image.sh
Sending build context to Docker daemon 11.17MB
Step 1/26 : FROM maven:3.8-openjdk-17-slim as build-hapi
---> 126d58d17617
Step 2/26 : WORKDIR /tmp/hapi-fhir-jpaserver-starter
---> Using cache
---> 359e79905d7a
Step 3/26 : COPY pom.xml .
---> 609640236888
Step 4/26 : COPY server.xml .
---> 967eac369a11
Step 5/26 : RUN mvn -ntp dependency:go-offline
---> Running in a0aca4078576
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: ch.qos.logback:logback-classic:jar -> duplicate declaration of version (?) @ line 370, column 21
[FATAL] Non-resolvable parent POM for ca.uhn.hapi.fhir:hapi-fhir-jpaserver-starter:6.4.0: Could not transfer artifact ca.uhn.hapi.fhir:hapi-fhir:pom:6.4.0 from/to oss-snapshots (https://oss.sonatype.org/content/repositories/snapshots/): transfer failed for https://oss.sonatype.org/content/repositories/snapshots/ca/uhn/hapi/fhir/hapi-fhir/6.4.0/hapi-fhir-6.4.0.pom and 'parent.relativePath' points at wrong local POM @ line 15, column 14
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project ca.uhn.hapi.fhir:hapi-fhir-jpaserver-starter:6.4.0 (/tmp/hapi-fhir-jpaserver-starter/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for ca.uhn.hapi.fhir:hapi-fhir-jpaserver-starter:6.4.0: Could not transfer artifact ca.uhn.hapi.fhir:hapi-fhir:pom:6.4.0 from/to oss-snapshots (https://oss.sonatype.org/content/repositories/snapshots/): transfer failed for https://oss.sonatype.org/content/repositories/snapshots/ca/uhn/hapi/fhir/hapi-fhir/6.4.0/hapi-fhir-6.4.0.pom and 'parent.relativePath' points at wrong local POM @ line 15, column 14: Unknown host oss.sonatype.org: Temporary failure in name resolution -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http:https://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http:https://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
The command '/bin/sh -c mvn -ntp dependency:go-offline' returned a non-zero code: 1

Please let me know how to resolve this?

Thanks,
Jigar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant