zonkyio / embedded-postgres-binaries

Lightweight bundles of PostgreSQL binaries with reduced size intended for testing purposes.
Apache License 2.0
138 stars 29 forks source link

#4 Enable optional postgis extensions #5

Closed Zetten closed 5 years ago

Zetten commented 5 years ago

Configure build and deployment of secondary artifacts with a "postgis" classifier, by specifying "-PpostgisVersion=x.y.z" during the build.

Fixes #4

Zetten commented 5 years ago

All comments should be resolved. The typo and Dockerfile were part of my initial explorations with postgis here, sorry for leaving them in!

tomix26 commented 5 years ago

During the testing, I made some minor changes and fixes. For example, I had to remove the postgis classifier, because otherwise Maven resolves it as a completely different dependency and it is difficult to override the original postgres dependencies. So now the postgis extension is part of the version of the postgres binaries, such as 10.8.0-postgis-2.5.3.

tomix26 commented 5 years ago

Thanks again for your contribution.

Zetten commented 5 years ago

Excellent! Thanks very much!