Hi JB,


have you an example for me? I have tried to use "etc/overrides.properties"
for this, but with no success.

Regards
Andre


Am Mi., 25. Sept. 2019 um 10:51 Uhr schrieb Jean-Baptiste Onofré <
j...@nanthrax.net>:

> Hi,
>
> actually, you have to override the Karaf enterprise feature which
> "include" pax-jdbc.
>
> Regards
> JB
>
> On 25/09/2019 10:46, Andre Schlegel wrote:
> > 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
>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to