The geofence-server module currently builds a zip file with the jars needed for working with geodb (h2) only.
In order to user postgis as a backend DBMS some manual work is required, and the needed jars are not included in the zip file. Note that we can’t include all the jars in a single plugin, because the hibernate-spatial jars will conflict.
The proposal is to:
- transform
geofence-server into a pom module
- create a submodule of
geofence-server , geofence-server-geodb , which creates a plugin with the required libraries for geodb
- create a submodule of
geofence-server , geofence-server-postgis , which creates a plugin with the required libraries for postgis.
- It will inherit everything from
geofence-server-geodb , with the exclusion of the hibernate and the jdbc dependencies, because it will have its own.
- It will re-run the very same tests of
geofence-server-geodb using pg as a backend
- Tests will be enabled with a profile, bc they are integration tests that require a postgres service.
|