I have manually created a postgresql jdbc driver karaf feature, because that gives smoother loading and unloading when I have more than one webapp using the postgresql jdbc driver.
It would be nice ifthe postgresql driver provided its own karaf feature. It's possible to piggyback the feature creation on the maven build process, using the karaf-maven-plugin and attach the feature artifacts to the deployed maven resources.
If there is interest in this, I can create a pull request.
The text was updated successfully, but these errors were encountered:
@davecramer Great! I will work on a PR and try to think of a way to test the feature (it would be possible to create a pax exam integration test that would verify that the feature works and loads the JDBC driver and provides a DataSourceFactory, but that may be overkill...?)