deegree / deegree-ogcapi

OGC API implementations based on deegree
GNU Lesser General Public License v2.1
5 stars 5 forks source link

Nexus repository public-ogcapi misses 3.5.0-SNAPSHOT versions #85

Closed stempler closed 1 year ago

stempler commented 1 year ago

Describe the bug Nexus repository public-ogcapi misses 3.5.0-SNAPSHOT versions. Generally there don't seem to be any snapshot versions - not sure if there were any others before. This leads to the build failing if the respective artifact was no previously cached.

To Reproduce Try building on clean slate with Maven or check the repository content.

Expected behavior The required build dependencies should be available in the repository.

Screenshots

image

Example error from Maven build:

Error:  Failed to execute goal on project deegree-ogcapi-datasets: Could not resolve dependencies for project org.deegree:deegree-ogcapi-datasets:jar:1.3-SNAPSHOT: The following artifacts could not be resolved: org.deegree:deegree-core-commons:jar:3.5.0-SNAPSHOT, org.deegree:deegree-core-workspace:jar:3.5.0-SNAPSHOT: Could not find artifact org.deegree:deegree-core-commons:jar:3.5.0-SNAPSHOT in deegree-ogcapi-repo (https://repo.deegree.org/repository/public-ogcapi/) -> [Help 1]
stempler commented 1 year ago

For someone else running into this problem, here is a commit that can be used as a (temporary) workaround, using jitpack.io as additional dependency repository. It's a bit hacky though, since jitpack seems to mess up dependency versions for org.deegree dependencies that are not built as part of the deegree3 repo.

tfr42 commented 1 year ago

@stempler Thanks for reporting this issue. The nexus policies have been updated and the repo https://repo.deegree.org/repository/public-ogcapi/ should contain all deegree core artifacts to build the deegree ogc api project now. The build jobs used to build the feature branch and the project itself have completed sucessfully after applying some changes needed after github changed the host ssh key.

stempler commented 1 year ago

Thanks a lot @tfr42 for fixing this!