At the moment, any dependency on hibernate-spatial will transitively pull in postgresql (whether they use postgresql or not). Is that really your intention?