Hello,
I'm building a karaf (4.2.6) with the karaf-maven-plugin and the
jdbc-feature. The jdbc-feature depends on pax-jdbc version 1.3.5. Now I'm
facing a bug in the pax-jdbc-config feature and I want to use the version
1.3.0 which has not the bug.
Can you tell me, how to set the version of this feature? I tried to add the
version number, but the dependencies from karaf are always used. Here is a
snippet from my pom:
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<version>${karaf.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<archiveZip>true</archiveZip>
<archiveTarGz>true</archiveTarGz>
<installedFeatures>
<feature>pax-jdbc-oracle/1.3.0</feature>
<feature>pax-jdbc-mssql/1.3.0</feature>
<feature>pax-jdbc-mysql/1.3.0</feature>
</installedFeatures>
<startupFeatures>
<feature>eventadmin</feature>
</startupFeatures>
<bootFeatures>ture>standard</feature>
<feature>wrapper</feature>
<feature>wrap</feature>
<feature>jndi</feature>
<feature>transaction</feature>
<feature>obr</feature>
<feature>cxf</feature>
<feature>cxf-commands</feature>
<feature>war</feature>
<feature>jdbc/4.2.2</feature> <!-- Karaf 4.2.2 is
using pax-jdbc 1.3.0 -->
<feature>pax-jdbc/1.3.0</feature>
<feature>pax-jdbc-spec/1.3.0</feature>
<feature>pax-jdbc-pool-dbcp2/1.3.0</feature>
<feature>pax-jdbc-config/1.3.0</feature>
<feature>scr</feature>
</bootFeatures>
</configuration>
</plugin>
Regards
Andre