geoserver / geoserver-cloud

Cloud Native GeoServer is GeoServer ready to use in the cloud through dockerized microservices.
http://geoserver.org/geoserver-cloud
Other
254 stars 78 forks source link

Error when building as documented in the README #105

Closed LHBruneton-C2C closed 2 years ago

LHBruneton-C2C commented 3 years ago

Hello !

When I try to build as documented in the README, with the command ./mvnw clean install, I get the following error:

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/lbruneton/dev/geoserver/geoserver-cloud/catalog-support/geoserver-jackson-bindings/src/main/java/org/geoserver/jackson/databind/catalog/mapper/PublishedMapper.java:[49,19] error: Unmapped target property: "layerGroupStyles".
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for gs-cloud-parent 1.0-SNAPSHOT:
[INFO] 
[INFO] gs-cloud-parent .................................... SUCCESS [ 15.344 s]
[INFO] Parent pom for support services .................... SUCCESS [ 28.927 s]
[INFO] Discovery service .................................. SUCCESS [02:13 min]
[INFO] Cloud config service ............................... SUCCESS [ 33.312 s]
[INFO] API gateway service ................................ SUCCESS [ 23.126 s]
[INFO] Database service ................................... SUCCESS [  3.478 s]
[INFO] Parent pom for GeoServer Catalog modules ........... SUCCESS [  0.106 s]
[INFO] gt-jackson-bindings ................................ SUCCESS [ 48.567 s]
[INFO] gs-cloud-pluggable-catalog-support ................. SUCCESS [01:58 min]
[INFO] gs-jackson-bindings ................................ FAILURE [ 28.261 s]
[INFO] gs-cloud-catalog-cache ............................. SKIPPED
[INFO] gs-cloud-event-bus ................................. SKIPPED
[INFO] gs-cloud-event-bus-amqp ............................ SKIPPED
[INFO] Spring boot starters for GeoServer cloud services .. SKIPPED
[INFO] gs-cloud-starter-jackson ........................... SKIPPED
[INFO] gs-cloud-catalog-client ............................ SKIPPED
[INFO] gs-cloud-catalog-backend-starter ................... SKIPPED
[INFO] gs-cloud-starter-vector-formats .................... SKIPPED
[INFO] gs-cloud-starter-raster-formats .................... SKIPPED
[INFO] gs-cloud-starter-webmvc ............................ SKIPPED
[INFO] gs-cloud-starter-reactive .......................... SKIPPED
[INFO] Parent pom for GeoServer microservices ............. SKIPPED
[INFO] Catalog microservice ............................... SKIPPED
[INFO] wfs-service ........................................ SKIPPED
[INFO] wms-service ........................................ SKIPPED
[INFO] wcs-service ........................................ SKIPPED
[INFO] wps-service ........................................ SKIPPED
[INFO] restconfig-service ................................. SKIPPED
[INFO] web-ui-service ..................................... SKIPPED
[INFO] Integration tests parent ........................... SKIPPED
[INFO] gs-cloud-catalog-service-it ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  07:14 min
[INFO] Finished at: 2021-10-19T13:29:50+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project gs-jackson-bindings: Compilation failure
[ERROR] /home/lbruneton/dev/geoserver/geoserver-cloud/catalog-support/geoserver-jackson-bindings/src/main/java/org/geoserver/jackson/databind/catalog/mapper/PublishedMapper.java:[49,19] error: Unmapped target property: "layerGroupStyles".

I checked and the requirements are met on my computer.

Issue appears on the main and the v1.0-RC1 branches.

Let me know if you need any more info on this issue.

Thanks for the hard work making this geoserver-cloud solution work!

groldan commented 3 years ago

Created #107 to fix it, it's a new property added to gs main branch these last days

Also depends on #100, the ci takes care of it since we currently can't depend on vanilla geoserver