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

> The PR is here if anyone would like to take a look at it:
>  https://github.com/pgjdbc/pgjdbc/pull/1554

The PR was merged to pgjdbc master, so when the next release of pgjdbc is done, 
it should be possible to use the attached feature:

1. From a maven dependency in a maven module building and attaching its own 
feature file:
    <dependency>
        <groupId>org.postgresql</groupId>
        <artifactId>postgresql</artifactId>
        <version>42.2.7</version>
        <type>xml</type>
        <classifier>features</classifier>
    </dependency>

2. Alternatively, using a template feature.xml file:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0"; 
name="authservice.bundle">
        
<repository>mvn:org.postgresql/postgresql/42.2.7/xml/features</repository>
            <feature name="${karaf-feature-name}">
            <feature>postgresql</feature>
        </feature>
    </features>

(I'm guessing at the version name for the next pgjdbc release, it's the current 
SNAPSHOT without -SNAPSHOT)

Reply via email to