geoserver / geoserver-cloud

Cloud Native GeoServer is GeoServer ready to use in the cloud through dockerized microservices.

Home Page:http://geoserver.org/geoserver-cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pyramid plugin extension for coverage store in geoserver-cloud

shomy4 opened this issue · comments

Hi, i would like the possibility to use pyramid plugin extension in geoserver cloud.
Could you give me the directions on how to implement it?
Is there some plugin which you incorporated in geoserver-cloud for which steps are similar, so i can use it as a blueprint.

Im trying to add pyramid plugin into geoserver-cloud project and installed all project dependencies as specified in the README:

OS: Ubuntu 22.04

openjdk 19.0.2 2023-01-17
javac 19.0.2
Apache Maven 3.6.3
Docker version 24.0.5
docker-compose version 1.29.2

yet when i run:
make install
I get the following build error:
[ERROR] Failed to execute goal on project gs-cloud-starter-vector-formats: Could not resolve dependencies for project org.geoserver.cloud:gs-cloud-starter-vector-formats:jar:1.5-SNAPSHOT: Could not find artifact org.geoserver.extension:gs-feature-pregeneralized:jar:2.24.0-CLOUD in osgeo-releases (https://repo.osgeo.org/repository/release/) -> [Help 1] [ERROR] Failed to execute goal on project gs-cloud-catalog-plugin: Could not resolve dependencies for project org.geoserver.cloud.catalog:gs-cloud-catalog-plugin:jar:1.5-SNAPSHOT: The following artifacts could not be resolved: org.geoserver:gs-main:jar:2.24.0-CLOUD, org.geoserver:gs-main:jar:tests:2.24.0-CLOUD, org.geoserver:gs-wms:jar:2.24.0-CLOUD, org.geoserver:gs-wfs:jar:2.24.0-CLOUD, org.geoserver:gs-wcs:jar:2.24.0-CLOUD, org.geoserver:gs-gwc:jar:2.24.0-CLOUD, org.geoserver.extension:gs-wps-core:jar:2.24.0-CLOUD: Could not find artifact org.geoserver:gs-main:jar:2.24.0-CLOUD in osgeo-releases (https://repo.osgeo.org/repository/release/) -> [Help 1] [ERROR] Failed to execute goal on project gs-cloud-starter-raster-formats: Could not resolve dependencies for project org.geoserver.cloud:gs-cloud-starter-raster-formats:jar:1.5-SNAPSHOT: The following artifacts could not be resolved: org.geoserver.community:gs-pgraster:jar:2.24.0-CLOUD, org.geoserver.community:gs-cog:jar:2.24.0-CLOUD, org.geoserver.web:gs-web-core:jar:2.24.0-CLOUD: Could not find artifact org.geoserver.community:gs-pgraster:jar:2.24.0-CLOUD in osgeo-releases (https://repo.osgeo.org/repository/release/) -> [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] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :gs-cloud-starter-vector-formats make: *** [Makefile:16: install] Error 1

Is there an issue with geoserver-cloud related mvn repository?

Did you run make or make deps before make install?

Well this was a particularly easy one to integrate as we only needed to add the geotools dependency. See #379
For the record, if you follow the instructions on the README, you'll see you need to run make deps before make install. Or run make with no arguments to build it all, including tests and the docker images.

Please try out 2.0-SNAPSHOT to verify the ImagePyramid extension is working. Make sure you set up the appropriate volume mounts for the containers to see your data.