You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While attempting to build the gateway the build fails with unresolved dependency
[WARNING] Could not transfer metadata eu.europa.ec.dgc:dgc-lib:1.0.0-SNAPSHOT/maven-metadata.xml from/to dgc-github (https://maven.pkg.github.com/eu-digital-green-certificates/*): authentication failed for https://maven.pkg.github.com/eu-digital-green-certificates/*/eu/europa/ec/dgc/dgc-lib/1.0.0-SNAPSHOT/maven-metadata.xml, status: 401 Unauthorized
[WARNING] eu.europa.ec.dgc:dgc-lib:1.0.0-SNAPSHOT/maven-metadata.xmlfailed to transfer from https://maven.pkg.github.com/eu-digital-green-certificates/* during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of dgc-github has elapsed or updates are forced. Original error: Could not transfer metadata eu.europa.ec.dgc:dgc-lib:1.0.0-SNAPSHOT/maven-metadata.xml from/to dgc-github (https://maven.pkg.github.com/eu-digital-green-certificates/*): authentication failed for https://maven.pkg.github.com/eu-digital-green-certificates/*/eu/europa/ec/dgc/dgc-lib/1.0.0-SNAPSHOT/maven-metadata.xml, status: 401 Unauthorized
Downloading from dgc-github: https://maven.pkg.github.com/eu-digital-green-certificates/*/eu/europa/ec/dgc/dgc-lib/1.0.0-SNAPSHOT/dgc-lib-1.0.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.589 s
[INFO] Finished at: 2021-05-11T07:56:41Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project dgc-cli: Could not resolve dependencies for project eu.europa.ec.dgc.cli:dgc-cli:jar:latest: Failed to collect dependencies at eu.europa.ec.dgc:dgc-lib:jar:1.0.0-SNAPSHOT: Failed to read artifact descriptor for eu.europa.ec.dgc:dgc-lib:jar:1.0.0-SNAPSHOT: Could not transfer artifact eu.europa.ec.dgc:dgc-lib:pom:1.0.0-SNAPSHOT from/to dgc-github (https://maven.pkg.github.com/eu-digital-green-certificates/*): authentication failed for https://maven.pkg.github.com/eu-digital-green-certificates/*/eu/europa/ec/dgc/dgc-lib/1.0.0-SNAPSHOT/dgc-lib-1.0.0-SNAPSHOT.pom, status: 401 Unauthorized -> [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
Expected behaviour
Successfull build with mvn clean install
Steps to reproduce the issue
Clone repo
docker run --rm -ti -v /sources/dgc/dgc-cli:/source maven:3-adoptopenjdk-11 /bin/bash
mvn clean install
Technical details
Host Machine OS (Windows/Linux/Mac): linux with docker container maven: 3-adoptopenjdk-11
Possible Fix
Additional context
The text was updated successfully, but these errors were encountered:
Please update documentation to explicitly mention this. Users are not expected to be intricately familiar with non-public repos and the way to authenticate to them.
On the other hand as this is public code all instructions should be minimally available.
Describe the bug
While attempting to build the gateway the build fails with unresolved dependency
Expected behaviour
Successfull build with
mvn clean install
Steps to reproduce the issue
docker run --rm -ti -v /sources/dgc/dgc-cli:/source maven:3-adoptopenjdk-11 /bin/bash
mvn clean install
Technical details
maven: 3-adoptopenjdk-11
Possible Fix
Additional context
The text was updated successfully, but these errors were encountered: