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 resolving dependencies for project fr.ign.cogit:geoxygene-ontology:jar:1.10-SNAPSHOT #43

Open
Smoltbob opened this issue Apr 26, 2023 · 4 comments

Comments

@Smoltbob
Copy link

Smoltbob commented Apr 26, 2023

Hello, when trying to build geoxygene-ontology 1.10-SNAPSHOT I get the following error:

Failed to collect dependencies at edu.stanford:protege:jar:3.2.1Failed to read artifact descriptor for edu.stanford:protege:jar:3.2.1: Could not transfer artifact edu.stanford:protege:pom:3.2.1 from/to cogit-releases (https://forge-cogit.ign.fr/nexus/content/repositories/releases/): Connect timed out

Is there a way around this, does this mean the host is unavailable? Thanks!

@JusteRaimbault
Copy link
Contributor

JusteRaimbault commented Apr 27, 2023

Hi,
This is because forge-cogit had to close and we couldn't have an official replacement. We are currently discussing the future of geoxygene, and how to release it for legacy if support is discontinued.
In the meantime, we are currently using it in an other branch (here), for which @julienperret found clever fixes around dependencies issues linked to the closing of forge-cogit.
I just forwarded master to the corresponding commit and geoxygene-ontology compiles on my side.
Could you try with these fixes?
Some dependencies are handled with github maven packages, so you will have to configure maven for authentication to github with a personal access token in the ~/.m2/settings.xml file : https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry (auth is needed even for read only access, which is weird).

@Smoltbob
Copy link
Author

Smoltbob commented Apr 27, 2023

Thanks a lot, these fixes work. I understand that maintenance is difficult, so I appreciate the support, and I hope geoxygene remains usable in the future :). Please feel free to solve this issue, since using the matching branch allowed me to build the project.

Edit: while the build succeeded, I still have hundreds of errors related to missing artifacts, and access to cartagen. I added the certificates mentioned in Cartagen's repository just in case but it did not help. Could it be a related access issue ?

@magalietecher
Copy link

Hello, I encountered the same error as you when building up SimPLU3D projects recently.

Could not transfer artifact fr.ign.cogit:simplu3d:pom:1.2-SNAPSHOT from/to ign-snapshots (https://forge-cogit.ign.fr/nexus/content/repositories/snapshots/): Connect to forge-cogit.ign.fr:443 [forge-cogit.ign.fr/192.134.133.40] failed: connect timed out -> [Help 1]

Did you succeed to resolve the problem?
I am novice so I don't understand how i can use your explanations in the project..

Thank you very much.

@JusteRaimbault
Copy link
Contributor

Hi
the same error arises as the same reason is behind it: the website that hosted geoxygene, simplu3d and others libraries was put out of service by IGN's DSI. We do not have an alternative solution yet and publishing on maven central is also not yet possible, although we are working on it.
Note that geoxygene support will soon be discontinued, so only legacy version will be published should we manage to do this.
In the meantime, fixes like this one for geoxygene should be used. In the case of simplu3d I will see if we can deploy on github packages for example (related issue: SimPLU3D/simplu3D-tutorial#1 ).
I am leaving this issue here open as long as we don't find a sustainable and clean way to publish.

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

3 participants