>>>>> Steinar Bang <[email protected]>:

> Then I tried to make the feature file generation more automated and made
> the ukelonn-db-postgresql feature, and it turns out that this wasn't
> enough... there is something that pax-jsf-support pulls in that the
> postgresql JDBC driver needs... I just have to figure what.

To summarize:
 To get the feature for my postgresql interface to load, I needed
 feature dependencies to two built-in karaf features:
   transaction-api
   pax-jdbc

The pom.xml for the bundle, that also generates, and attaches a feature
file for the bundle (<scope>compile</scope> added to the dependencies
that are to be added to the feature):
 
https://github.com/steinarb/ukelonn/blob/master/ukelonn.bundle.postgresql.db/pom.xml

The actial configuration is in the pluginManagement of the parent POM
 https://github.com/steinarb/ukelonn/blob/master/pom.xml

The feature template file, that lists the feature dependencies, is:
 
https://github.com/steinarb/ukelonn/blob/master/ukelonn.bundle.postgresql.db/src/main/feature/feature.xml

Reply via email to