Skip to content

Commit

Permalink
Add an apache karaf feature for the PostgreSQL JDBC driver to fix #1552
Browse files Browse the repository at this point in the history
… (#1554)
  • Loading branch information
steinarb authored and davecramer committed Sep 3, 2019
1 parent 634ac7d commit e2f6e9f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pgjdbc/pom.xml
Expand Up @@ -301,6 +301,27 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<version>4.2.5</version>
<extensions>true</extensions>
<configuration>
<startLevel>80</startLevel>
<includeTransitiveDependency>false</includeTransitiveDependency>
<aggregateFeatures>false</aggregateFeatures>
<includeProjectArtifact>true</includeProjectArtifact>
</configuration>
<executions>
<execution>
<id>generate-features-file</id>
<phase>package</phase>
<goals>
<goal>features-generate-descriptor</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>

<pluginManagement>
Expand Down
6 changes: 6 additions & 0 deletions pgjdbc/src/main/feature/feature.xml
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0">
<feature name="postgresql" description="PostgreSQL JDBC driver karaf feature" version="${project.version}">
<feature>transaction-api</feature>
</feature>
</features>

0 comments on commit e2f6e9f

Please sign in to comment.