Hi,

The attached pom works for me. Additionally the *spring-legacy* repository
has been added as a boot repository.
Since ActiveMQ 5.16.2 this is required. Related ticket AMQ-8218
<https://issues.apache.org/jira/browse/AMQ-8218> and information available
here
<https://nanthrax.blogspot.com/2021/05/whats-new-in-apache-activemq-5162.html>
.



*Thanks & Regards*
*Vignesh Kumar Muthuvijayan*


On Fri, 21 Jan 2022 at 17:30, Zinner, Frank Uwe Alfred <
frank.uwe.alfred.zin...@externe.dfs.de> wrote:

> Hi,
>
>
>
> I’ve also tried using Camel 3.11.5 LTS and Camel 3.14.0 – both latest
> versions fail on build with the same error message.
>
>
>
> Regards,
>
> Frank
>
>
>
> *Von:* Muthuvijayan, Vignesh Kumar <
> vignesh.kumar.muthuvija...@kalmarglobal.com>
> *Gesendet:* Freitag, 21. Januar 2022 12:09
> *An:* user@karaf.apache.org
> *Betreff:* EXT:Re: EXT:Re: AW: EXT:Re: EXT:Re: Karaf Tooling Maven Plugin
> produces strange feature file
>
>
>
> Hi,
>
>
>
> I actually meant the feature to be added to the blacklisted repo tag in
> the karaf maven plugin configuration like below
>
>
>
> <bootFeatures>
>     ...
>     ...
> </bootFeatures>
> <installedFeatures>
>     ...
> </installedFeatures>
> <startupBundles>
>      ....
> </startupBundles>
> <blacklistedRepositories>
>     <!-- Spring Legacy 4.2.10 features are pulled due to Apache Camel
> 3.7.7 dependency -->
>
> <repository>mvn:org.apache.karaf.features/spring-legacy/4.2.10/xml/features</repository>
> </blacklistedRepositories>
>
>
>
> Can you try this change and make the custom karaf package. With this
> change the 4.2.10 features should not be pulled. You can check this even in
> the maven logs.
>
>
>
>
> *Thanks & Regards*
>
> *Vignesh Kumar Muthuvijayan*
>
>
>
>
>
> On Fri, 21 Jan 2022 at 16:34, Zinner, Frank Uwe Alfred <
> frank.uwe.alfred.zin...@externe.dfs.de> wrote:
>
> Hi,
>
> thank you for helping me out here.
>
> The POM I send you was a simplistic one. In our project we will need
> additional libraries such as netty.io 4.1.x, cxf 3.4.x, the karaf
> enterprise features, osgi 6, osgi-compendium 5, Jackson etc. - all these
> worked with karaf 4.2.10 before.
>
> Kind regards
> Frank
>
> -----Ursprüngliche Nachricht-----
> Von: Jean-Baptiste Onofré <j...@nanthrax.net>
> Gesendet: Freitag, 21. Januar 2022 10:33
> An: user@karaf.apache.org
> Betreff: EXT:Re: AW: EXT:Re: EXT:Re: Karaf Tooling Maven Plugin produces
> strange feature file
>
> Hi,
>
> I will send to you an updated pom.xml that you can try.
>
> Regards
> JB
>
> On 21/01/2022 09:17, Zinner, Frank Uwe Alfred wrote:
> > Hi,
> >
> > thanks for the help.
> > I added the feature to the blacklisted feature file
> > org.apache.karaf.features.xml but that didn't help.
> > I still get duplicate entries and karaf won't start. Here's the
> > exception I get when I trie to run karaf (bin/karaf):
> >
> > org.apache.felix.resolver.reason.ReasonException: Unable to resolve
> > root: missing requirement [root] osgi.identity;
> > osgi.identity=0e85693d-2124-40a6-b61c-a00c96465280;
> > type=karaf.feature; version="[0,0.0.0]";
> >
> filter:="(&(osgi.identity=0e85693d-2124-40a6-b61c-a00c96465280)(type=karaf.feature)(version>=0.0.0)(version<=0.0.0))"
> > [caused by: Unable to resolve
> > 0e85693d-2124-40a6-b61c-a00c96465280/0.0.0: missing requirement
> > [0e85693d-2124-40a6-b61c-a00c96465280/0.0.0] osgi.identity;
> > osgi.identity=eventadmin; type=karaf.feature;
> > version="[4.2.10,4.2.10]"]
> >          at
> > org.apache.felix.resolver.Candidates$MissingRequirementError.toExcepti
> > on(Candidates.java:1343)
> >          at
> > org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:392
> > )
> >          at
> > org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:378)
> >          at
> > org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:332)
> >          at
> > org.apache.karaf.features.internal.region.SubsystemResolver.resolve(Su
> > bsystemResolver.java:257)
> >          at
> > org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.ja
> > va:401)
> >          at
> > org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvi
> > sion(FeaturesServiceImpl.java:1063)
> >          at
> > org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$
> > doProvisionInThread$13(FeaturesServiceImpl.java:998)
> >          at
> > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> >          at
> > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
> > Executor.java:1128)
> >          at
> > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
> > lExecutor.java:628)
> >          at java.base/java.lang.Thread.run(Thread.java:834)
> > Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to
> > resolve 0e85693d-2124-40a6-b61c-a00c96465280/0.0.0: missing
> > requirement [0e85693d-2124-40a6-b61c-a00c96465280/0.0.0]
> > osgi.identity; osgi.identity=eventadmin; type=karaf.feature;
> version="[4.2.10,4.2.10]"
> >          at
> > org.apache.felix.resolver.Candidates$MissingRequirementError.toExcepti
> > on(Candidates.java:1343)
> >          ... 12 more
> >
> > Regards
> > Frank
> >
> > ----------------------------------------------------------------------
> > --
> > *Von:* Muthuvijayan, Vignesh Kumar
> > <vignesh.kumar.muthuvija...@kalmarglobal.com>
> > *Gesendet:* Donnerstag, 20. Januar 2022 17:58
> > *An:* user@karaf.apache.org <user@karaf.apache.org>
> > *Betreff:* EXT:Re: EXT:Re: Karaf Tooling Maven Plugin produces strange
> > feature file Hi,
> >
> > I faced this issue while upgrading to Karaf 4.2.14.
> >
> > This occurs due to the Karaf 4.2.10 spring-legacy repository
> > dependency
> > <https://github.com/apache/camel-karaf/blob/30eebbf0ea4941733696b786c7
> > f0f5efed071657/platforms/karaf/features/src/main/resources/features.xm
> > l#L24>
> > in Camel Karaf 3.7.7
> >
> > Adding the below to the blacklisted repo helps
> >
> > <repository>mvn:org.apache.karaf.features/spring-legacy/4.2.10/xml/fea
> > tures</repository>
> >
> >
> > *Thanks & Regards*
> > *Vignesh Kumar Muthuvijayan*
> >
> >
> > On Thu, 20 Jan 2022 at 22:16, Zinner, Frank Uwe Alfred
> > <frank.uwe.alfred.zin...@externe.dfs.de
> > <mailto:frank.uwe.alfred.zin...@externe.dfs.de>> wrote:
> >
> >     Hi,
> >
> >     shure here it is ...
> >
> >     Regards
> >     Frank
> >
>  ------------------------------------------------------------------------
> >     *Von:* Jean-Baptiste Onofré <j...@nanthrax.net <mailto:j...@nanthrax.net
> >>
> >     *Gesendet:* Donnerstag, 20. Januar 2022 17:23
> >     *An:* user@karaf.apache.org <mailto:user@karaf.apache.org>
> >     <user@karaf.apache.org <mailto:user@karaf.apache.org>>
> >     *Betreff:* EXT:Re: Karaf Tooling Maven Plugin produces strange
> >     feature file
> >     Hi,
> >
> >     Can you share the pom.xml ? It looks like you have dual deps maybe in
> >     dependency sets or plugin dependency sets.
> >
> >     Regards
> >     JB
> >
> >     On 20/01/2022 16:25, Zinner, Frank Uwe Alfred wrote:
> >     > Hi,
> >     >
> >     > I need to migrate from Karaf 4.2.10 to 4.2.15 and I use the
> >     > karaf-maven-plugin for building a custom one.
> >     >
> >     > With 4.2.10 this works, but from 4.2.11 onwards the build produces
> >     > different feature files.
> >     >
> >     > Here’s an excerpt from the UUID like feature xml file generated
> with the
> >     > 4.2.15 version:
> >     >
> >     > <features xmlns=http://karaf.apache.org/xmlns/features/v1.6.0
> >     <http://karaf.apache.org/xmlns/features/v1.6.0>
> >     > <http://karaf.apache.org/xmlns/features/v1.6.0
> >     <http://karaf.apache.org/xmlns/features/v1.6.0>>
> >     > name="c9cb60ab-2f43-4db2-94fe-be232fcadcca">
> >     >
> >     >
> >     >
> <repository>mvn:org.apache.karaf.features/standard/4.2.15/xml/features</repository>
> >     >
> >     >
> >     >
> <repository>mvn:org.apache.karaf.features/framework/4.2.15/xml/features</repository>
> >     >
> >     >
> >     >
> <repository>mvn:org.apache.karaf.features/enterprise/4.2.15/xml/features</repository>
> >     >
> >     >
> >     >
> <repository>mvn:org.apache.camel.karaf/apache-camel/3.7.7/xml/features</repository>
> >     >
> >     >
> >     >
> <repository>mvn:org.apache.activemq/activemq-karaf/5.16.2/xml/features</repository>
> >     >
> >     >
> <repository>mvn:io.hawt/hawtio-karaf/2.14.4/xml/features</repository>
> >     >
> >     >      <feature name="4d86dce9-a5be-4263-8dfd-ed8cace10e68"
> version="0.0.0">
> >     >
> >     >          <feature version="4.2.15"
> dependency="false">framework</feature>
> >     >
> >     >          <feature version="4.2.10"
> dependency="false">eventadmin</feature>
> >     >
> >     >          <feature version="4.2.15"
> dependency="false">eventadmin</feature>
> >     >
> >     >          <feature version="4.2.10"
> >     > dependency="false">aries-blueprint</feature>
> >     >
> >     >          <feature version="4.2.15"
> >     > dependency="false">aries-blueprint</feature>
> >     >
> >     >          <feature version="2.6.2" dependency="false">wrap</feature>
> >     >
> >     >          <feature version="2.6.7" prerequisite="true"
> >     > dependency="false">wrap</feature>
> >     >
> >     >          <feature version="5.16.2"
> >     > dependency="false">activemq-broker-noweb</feature>
> >     >
> >     >          <feature version="4.2.10"
> dependency="false">bundle</feature>
> >     >
> >     >         <feature version="4.2.15"
> dependency="false">bundle</feature>
> >     >
> >     > *The file contains duplicates which differ in versions, this
> wasn’t the
> >     > case in 4.2.10.*
> >     >
> >     > Any ideas what causes this problem?
> >     >
> >     > Karaf won’t start with such a configuration.
> >     >
> >     > **
> >     >
> >     > Kind regards,
> >     >
> >     > Frank
> >     >
> >     > **
> >     >
> >     > *Frank Uwe Alfred Zinner (extern)*
> >     >
> >     > DFS Deutsche Flugsicherung GmbH
> >     > SH/AM
> >     > Am DFS-Campus 7
> >     > 63225 Langen
> >     >
> >     > Mail: frank.uwe.alfred.zin...@externe.dfs.de
> >     <mailto:frank.uwe.alfred.zin...@externe.dfs.de>
> >     > <mailto:frank.uwe.alfred.zin...@externe.dfs.de
> >     <mailto:frank.uwe.alfred.zin...@externe.dfs.de>>
> >     >
> >     > DFS Deutsche Flugsicherung GmbH • Am DFS-Campus • 63225 Langen •
> Tel.:
> >     > +49 6103 707-0 • Sitz der Gesellschaft: Langen/Hessen • Zuständiges
> >     > Registergericht: AG Offenbach am Main, HRB 34977 • Vorsitzende des
> >     > Aufsichtsrats: Antje Geese • Geschäftsführer: Arndt Schoenemann
> (Vors.),
> >     > Dr. Kerstin Böcker, Dirk Mahns, Friedrich-Wilhelm Menge •
> www.dfs.de <http://www.dfs.de>
> >     > <http://www.dfs.de <http://www.dfs.de>>
> >     >
> >     > Sollten Sie nicht der richtige Empfänger dieser E-Mail sein,
> löschen Sie
> >     > diese bitte.
> >     >
> >
> >     DFS Deutsche Flugsicherung GmbH • Am DFS-Campus • 63225 Langen •
> >     Tel.: +49 6103 707-0 • Sitz der Gesellschaft: Langen/Hessen •
> >     Zuständiges Registergericht: AG Offenbach am Main, HRB 34977 •
> >     Vorsitzende des Aufsichtsrats: Antje Geese • Geschäftsführer: Arndt
> >     Schoenemann (Vors.), Dr. Kerstin Böcker, Dirk Mahns,
> >     Friedrich-Wilhelm Menge • www.dfs.de <http://www.dfs.de>
> >
> >     Sollten Sie nicht der richtige Empfänger dieser E-Mail sein, löschen
> >     Sie diese bitte.
> >
> > DFS Deutsche Flugsicherung GmbH • Am DFS-Campus • 63225 Langen • Tel.:
> > +49 6103 707-0 • Sitz der Gesellschaft: Langen/Hessen • Zuständiges
> > Registergericht: AG Offenbach am Main, HRB 34977 • Vorsitzende des
> > Aufsichtsrats: Antje Geese • Geschäftsführer: Arndt Schoenemann
> > (Vors.), Dr. Kerstin Böcker, Dirk Mahns, Friedrich-Wilhelm Menge •
> > www.dfs.de <http://www.dfs.de>
> >
> > Sollten Sie nicht der richtige Empfänger dieser E-Mail sein, löschen
> > Sie diese bitte.
> >
> DFS Deutsche Flugsicherung GmbH • Am DFS-Campus • 63225 Langen • Tel.: +49
> 6103 707-0 • Sitz der Gesellschaft: Langen/Hessen • Zuständiges
> Registergericht: AG Offenbach am Main, HRB 34977 • Vorsitzende des
> Aufsichtsrats: Antje Geese • Geschäftsführer: Arndt Schoenemann (Vors.),
> Dr. Kerstin Böcker, Dirk Mahns, Friedrich-Wilhelm Menge • www.dfs.de<
> http://www.dfs.de>
>
> Sollten Sie nicht der richtige Empfänger dieser E-Mail sein, löschen Sie
> diese bitte.
>
> DFS Deutsche Flugsicherung GmbH • Am DFS-Campus • 63225 Langen • Tel.: +49
> 6103 707-0 • Sitz der Gesellschaft: Langen/Hessen • Zuständiges
> Registergericht: AG Offenbach am Main, HRB 34977 • Vorsitzende des
> Aufsichtsrats: Antje Geese • Geschäftsführer: Arndt Schoenemann (Vors.),
> Dr. Kerstin Böcker, Dirk Mahns, Friedrich-Wilhelm Menge • www.dfs.de
>
> Sollten Sie nicht der richtige Empfänger dieser E-Mail sein, löschen Sie
> diese bitte.
>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";>

    <modelVersion>4.0.0</modelVersion>

    <groupId>com.example</groupId>
    <artifactId>karaf</artifactId>
    <version>1.0.0-SNAPSHOT</version>
    <packaging>karaf-assembly</packaging>
    <name>com.example.karaf</name>
    <description>Custom Karaf 4.2.15</description>

    <properties>

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

        <maven.compiler.source>11</maven.compiler.source>
        <maven.compiler.target>11</maven.compiler.target>

        <revision>1.0.0</revision>
        <changelist>-SNAPSHOT</changelist>

        <pushChanges>false</pushChanges>
        <skipTests>false</skipTests>

        <karaf.version>4.2.15</karaf.version>
        <activemq.version>5.16.2</activemq.version>
        <camel.version>3.7.7</camel.version>
        <hawtio.version>2.14.4</hawtio.version>
        <groovy.version>3.0.7</groovy.version>
        <jasypt.version>1.9.3_1</jasypt.version>
        <jackson.version>1.9.13</jackson.version>

        <!-- Update JUnit if appropriate -->
        <junit.version>4.13.2</junit.version>

        <!-- Logging begin -->
        <slf4j.version>1.7.32</slf4j.version>
        <log4j2.version>2.17.1</log4j2.version>
        <!-- Logging end -->

        <osgi.version>6.0.0</osgi.version>
        <osgi.compendium.version>5.0.0</osgi.compendium.version>

        <!-- Same netty version as Camel 3.7.x is using here -->
        <netty.version>4.1.65.Final</netty.version>

        <!-- Apache CXF Service Framework begin -->
        <cxf.version>3.4.4</cxf.version>
        <!-- Apache CXF Service Framework end -->

        <mariadb-jdbc.version>2.7.3</mariadb-jdbc.version>

        <!-- Apache Geronimo libs and specs -->
        <geronimo-connector-spec.version>1.0</geronimo-connector-spec.version>
        <geronimo-osgi-registry.version>1.1</geronimo-osgi-registry.version>
        <geronimo-jms_1.1_spec.version>1.1.1</geronimo-jms_1.1_spec.version>
        <geronimo-jta.version>1.1.1</geronimo-jta.version>

        <!-- Apache Commons -->
        <commons-beanutils.version>1.9.4</commons-beanutils.version>
        <commons-configuration.version>1.10</commons-configuration.version>
        <commons-lang.version>2.6</commons-lang.version>
        <commons-collections.version>3.2.2</commons-collections.version>

        <!-- Plugin Versions begin -->
        <maven-bundle-plugin.version>5.1.3</maven-bundle-plugin.version>
        <maven-install-plugin.version>2.5.2</maven-install-plugin.version>
        <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
        <maven-compiler-plugin.version>2.5.1</maven-compiler-plugin.version>
        <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
        <maven-dependency-plugin.version>3.1.2</maven-dependency-plugin.version>
        <maven-assembly-plugin.version>2.2.1</maven-assembly-plugin.version>
        <maven-resources-plugin.version>3.2.0</maven-resources-plugin.version>
        <maven-javadoc-plugin.version>2.10.1</maven-javadoc-plugin.version>
        <maven-source-plugin.version>2.4</maven-source-plugin.version>
        <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
        <flatten-maven-plugin.version>1.1.0</flatten-maven-plugin.version>
        <build-helper-maven-plugin.version>1.8</build-helper-maven-plugin.version>
        <!-- Plugin Versions end -->
    </properties>

    <dependencies>
        <!-- Apache Karaf Dependencies begin -->
        <dependency>
            <groupId>org.apache.karaf.features</groupId>
            <artifactId>framework</artifactId>
            <version>${karaf.version}</version>
            <type>kar</type>
        </dependency>
        <dependency>
            <groupId>org.apache.karaf.features</groupId>
            <artifactId>framework</artifactId>
            <version>${karaf.version}</version>
            <classifier>features</classifier>
            <type>xml</type>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.karaf.features</groupId>
            <artifactId>standard</artifactId>
            <version>${karaf.version}</version>
            <classifier>features</classifier>
            <type>xml</type>
        </dependency>
        <dependency>
            <groupId>org.apache.karaf.features</groupId>
            <artifactId>enterprise</artifactId>
            <version>${karaf.version}</version>
            <classifier>features</classifier>
            <type>xml</type>
            <scope>runtime</scope>
        </dependency>

        <!-- Apache Camel 3.7.x LTS -->
        <dependency>
            <groupId>org.apache.camel.karaf</groupId>
            <artifactId>apache-camel</artifactId>
            <version>${camel.version}</version>
            <classifier>features</classifier>
            <type>xml</type>
            <scope>runtime</scope>
        </dependency>

        <!-- Apache ActiveMQ Classic 5.16.x -->
        <dependency>
            <groupId>org.apache.activemq</groupId>
            <artifactId>activemq-karaf</artifactId>
            <version>${activemq.version}</version>
            <classifier>features</classifier>
            <type>xml</type>
            <scope>runtime</scope>
        </dependency>

        <!-- Apache HAWTIO -->
        <dependency>
            <groupId>io.hawt</groupId>
            <artifactId>hawtio-karaf</artifactId>
            <version>${hawtio.version}</version>
            <classifier>features</classifier>
            <type>xml</type>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>commons-beanutils</groupId>
            <artifactId>commons-beanutils</artifactId>
            <version>1.9.3</version>
        </dependency>

    </dependencies>

    <build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>false</filtering>
                <includes>
                    <include>**/*</include>
                </includes>
            </resource>
            <resource>
                <directory>src/main/filtered-resources</directory>
                <filtering>true</filtering>
                <includes>
                    <include>**/*</include>
                </includes>
            </resource>
        </resources>

        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.1</version>
                <configuration>
                    <encoding>${project.build.sourceEncoding}</encoding>
                    <source>11</source>
                    <target>11</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <version>${maven-resources-plugin.version}</version>
                <executions>
                    <execution>
                        <id>process-resources</id>
                        <goals>
                            <goal>resources</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <!-- Resource plugin end -->

            <!-- Karaf Plugin begin -->
            <plugin>
                <groupId>org.apache.karaf.tooling</groupId>
                <artifactId>karaf-maven-plugin</artifactId>
                <version>${karaf.version}</version>
                <extensions>true</extensions>
                <executions>
                    <execution>
                        <phase>package</phase>
                    </execution>
                </executions>
                <configuration>
                    <enableGeneration>true</enableGeneration>
                    <finalName>${project.artifactId}</finalName>
                    <archiveZip>false</archiveZip>
                    <archiveTarGz>true</archiveTarGz>
                    <javase>11</javase>
                    <bootBundles>
                        <!-- This creates a feature xml file which will fail !!! -->
                        <!--<bootBundle>mvn:commons-beanutils/commons-beanutils/1.9.3</bootBundle>-->
                        <!-- This creates a feature xml file which will fail !!! -->
                        <bundle>mvn:commons-beanutils/commons-beanutils/1.9.3</bundle>
                    </bootBundles>
                    <installedFeatures>
                        <feature>wrapper</feature>
                    </installedFeatures>
                    <installedBundles>
                        <installedBundle>mvn:commons-beanutils/commons-beanutils/${commons-beanutils.version}</installedBundle>
                        <installedBundle>mvn:commons-configuration/commons-configuration/${commons-configuration.version}</installedBundle>
                        <installedBundle>mvn:commons-lang/commons-lang/${commons-lang.version}</installedBundle>
                        <installedBundle>mvn:org.codehaus.jackson/jackson-core-asl/${jackson.version}</installedBundle>
                        <installedBundle>mvn:org.codehaus.jackson/jackson-mapper-asl/${jackson.version}</installedBundle>
                        <installedBundle>mvn:org.slf4j/slf4j-api/${slf4j.version}</installedBundle>
                        <installedBundle>mvn:org.slf4j/log4j-over-slf4j/${slf4j.version}</installedBundle>
                    </installedBundles>
                    <startupFeatures>
                        <feature>eventadmin</feature>
                        <feature>aries-blueprint</feature>
                        <feature>pax-url-aether</feature>
                        <feature>wrap</feature>
                    </startupFeatures>
                    <bootFeatures>
                        <feature>activemq-broker-noweb</feature>
                        <feature>bundle</feature>
                        <!-- Camel & Components begin -->
                        <feature>camel-activemq</feature>
                        <!-- Either use camel amqp OR camel activemq but NOT both !!! -->
                        <!--<feature>camel-amqp</feature>-->
                        <feature>camel-avro</feature>
                        <feature>camel-bindy</feature>
                        <feature>camel-blueprint</feature>
                        <feature>camel-core</feature>
                        <feature>camel-gson</feature>
                        <feature>camel-http</feature>
                        <feature>camel-jackson</feature>
                        <feature>camel-jaxb</feature>
                        <!-- camel-jetty issues with hawtio/cxf installed jetty version -->
                        <!--<feature>camel-jetty</feature>-->
                        <feature>camel-jms</feature>
                        <feature>camel-jpa</feature>
                        <feature>camel-mail</feature>
                        <feature>camel-netty</feature>
                        <feature>camel-quartz</feature>
                        <feature>camel-spring</feature>
                        <feature>camel-stream</feature>
                        <feature>camel-zipfile</feature>
                        <!-- Camel & Components end -->
                        <feature>config</feature>
                        <!-- cxf feature breaks Hawtio because of conflicting jetty port 8181 -->
                        <!--<feature>cxf</feature>-->
                        <feature>diagnostic</feature>
                        <feature>feature</feature>
                        <feature>hawtio</feature>
                        <feature>jaas</feature>
                        <feature>jasypt-encryption</feature>
                        <feature>jndi</feature>
                        <feature>kar</feature>
                        <feature>log</feature>
                        <feature>management</feature>
                        <feature>openjpa</feature>
                        <feature>package</feature>
                        <feature>shell</feature>
                        <feature>ssh</feature>
                        <feature>service</feature>
                        <feature>spring</feature>
                        <feature>system</feature>
                        <feature>deployer</feature>
                    </bootFeatures>
					<bootRepositories>
                        <!-- Since ActiveMQ 5.16.2 spring-legacy feature should be explicitly added -->
                        <repository>mvn:org.apache.karaf.features/spring-legacy/${karaf.version}/xml/features</repository>
                    </bootRepositories>
					<blacklistedRepositories>
                        <!-- Spring Legacy 4.2.10 features are pulled due to Apache Camel 3.7.6 dependency -->
                        <repository>mvn:org.apache.karaf.features/spring-legacy/4.2.10/xml/features</repository>
                    </blacklistedRepositories>
                    <libraries>
                        <!-- non osgi bundles need wrap:mvn -->
                        <library>mvn:org.osgi/org.osgi.core/${osgi.version}</library>
                        <library>mvn:org.osgi/org.osgi.compendium/${osgi.compendium.version}</library>
                        <library>mvn:org.codehaus.jackson/jackson-core-asl/${jackson.version}</library>
                        <library>mvn:org.codehaus.jackson/jackson-mapper-asl/${jackson.version}</library>
                        <library>mvn:commons-beanutils/commons-beanutils/${commons-beanutils.version}</library>
                        <library>mvn:commons-configuration/commons-configuration/${commons-configuration.version}</library>
                        <library>mvn:commons-lang/commons-lang/${commons-lang.version}</library>
                        <library>mvn:org.apache.logging.log4j/log4j-api/${log4j2.version}</library>
                        <library>mvn:org.slf4j/slf4j-api/${slf4j.version}</library>
                        <library>mvn:org.slf4j/log4j-over-slf4j/${slf4j.version}</library>
                        <library>mvn:org.slf4j/slf4j-log4j12/${slf4j.version}</library>
                        <library>mvn:org.slf4j/slf4j-simple/${slf4j.version}</library>
                    </libraries>
                    </configuration>
                </plugin>
                <!-- Karaf Plugin end -->
        </plugins>
    </build>

</project>

Reply via email to