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

Could not collect dependencies: status 502 #574

Closed
dennisvang opened this issue Oct 14, 2024 · 3 comments · Fixed by #577
Closed

Could not collect dependencies: status 502 #574

dennisvang opened this issue Oct 14, 2024 · 3 comments · Fixed by #577
Assignees

Comments

@dennisvang
Copy link
Contributor

dennisvang commented Oct 14, 2024

What components are related to the issue?

Other (specify in text)

Which FDP are you using?

My local instance

Version

1.17.2 and develop

What happened?

Running mvn verify on a local development machine results in a build failure:

Dependencies cannot be collected, because the server at https://nexus.internal.fairdatapoint.org returns status 502 "Bad Gateway".

Possibly related to #501

Relevant log output

...
[ERROR] Failed to execute goal on project fairdatapoint: Could not collect dependencies for project org.fairdatapoint:fairdatapoint:jar:1.17.1
[ERROR] Failed to read artifact descriptor for com.github.fairdevkit:rdf-resource-resolver-core:jar:0.1.2-SNAPSHOT
[ERROR]         Caused by: The following artifacts could not be resolved: com.github.fairdevkit:rdf-resource-resolver-core:pom:0.1.2-SNAPSHOT (absent): Could not transfer artifact com.github.fairdevkit:rdf-resource-resolver-core:pom:0.1.2-SNAPSHOT from/to nexus-releases (https://nexus.internal.fairdatapoint.org/repository/maven-releases/): status code: 502, reason phrase: Bad Gateway (502)
[ERROR] Failed to read artifact descriptor for com.github.fairdevkit:rdf-resource-resolver-api:jar:0.1.2-SNAPSHOT
[ERROR]         Caused by: The following artifacts could not be resolved: com.github.fairdevkit:rdf-resource-resolver-api:pom:0.1.2-SNAPSHOT (absent): Could not transfer artifact com.github.fairdevkit:rdf-resource-resolver-api:pom:0.1.2-SNAPSHOT from/to nexus-releases (https://nexus.internal.fairdatapoint.org/repository/maven-releases/): status code: 502, reason phrase: Bad Gateway (502)
...
@dennisvang dennisvang self-assigned this Oct 14, 2024
@dennisvang dennisvang changed the title Could not collect dependencies for project org.fairdatapoint:fairdatapoint:jar:1.17.1: status 502 Could not collect dependencies: status 502 Oct 14, 2024
@dennisvang
Copy link
Contributor Author

The affected dependencies are:

Publishing the dependencies to Github Packages works (#575, #576), but installation of packages from Github Packages requires authentication using a github personal access token, even if the package is public.

After discussion with @luizbonino, it was decided to publish the dependencies to Maven central instead, under the org.fairdatateam namespace.

@CAVDgit
Copy link

CAVDgit commented Oct 25, 2024

Hi, any idea when the fix will be available ?

@dennisvang
Copy link
Contributor Author

Hi @CAVDgit I'm currently testing publication of the dependencies via the maven central portal. I hope to have a PR ready by next week.

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