Skip to content

Heigit maven repo is not public #2132

@Loki-Afro

Description

@Loki-Afro

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

build is failing because the public maven repo isn't public? :)
https://repo.heigit.org/repository/maven-public/ results in 403

podman build -f Dockerfile
...
[1/3] STEP 15/16: COPY ors-engine /tmp/ors/ors-engine
--> 2790dd8d699c
[1/3] STEP 16/16: RUN ./mvnw -pl 'ors-api,ors-engine'     -q clean package -DskipTests -Dmaven.test.skip=true
[ERROR] Failed to execute goal on project ors-engine: Could not collect dependencies for project org.heigit.ors:ors-engine:jar:9.4.0-SNAPSHOT
[ERROR] Failed to read artifact descriptor for net.bytebuddy:byte-buddy:jar:1.15.11
[ERROR]         Caused by: The following artifacts could not be resolved: net.bytebuddy:byte-buddy:pom:1.15.11 (absent): Could not transfer artifact net.bytebuddy:byte-buddy:pom:1.15.11 from/to heigit-nexus-public (https://repo.heigit.org/repository/maven-public/): status code: 403, reason phrase: Forbidden (403)
[ERROR] Failed to read artifact descriptor for net.bytebuddy:byte-buddy-agent:jar:1.15.11
[ERROR]         Caused by: The following artifacts could not be resolved: net.bytebuddy:byte-buddy-agent:pom:1.15.11 (absent): Could not transfer artifact net.bytebuddy:byte-buddy-agent:pom:1.15.11 from/to heigit-nexus-public (https://repo.heigit.org/repository/maven-public/): status code: 403, reason phrase: Forbidden (403)
[ERROR] Failed to read artifact descriptor for org.hamcrest:hamcrest-core:jar:2.2
[ERROR]         Caused by: The following artifacts could not be resolved: org.hamcrest:hamcrest-core:pom:2.2 (absent): Could not transfer artifact org.hamcrest:hamcrest-core:pom:2.2 from/to heigit-nexus-public (https://repo.heigit.org/repository/maven-public/): status code: 403, reason phrase: Forbidden (403)
[ERROR]
[ERROR] -> [Help 1]
[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://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Error: building at STEP "RUN ./mvnw -pl 'ors-api,ors-engine'     -q clean package -DskipTests -Dmaven.test.skip=true": while running runtime: exit status 1
podman build -f Dockerfile  56,27s user 16,85s system 20% cpu 5:57,74 tota

Proposed solution

make the dependencies accessible

Additional context

No response

Forum Topic Link

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions