Hi

Actually, the plan is to remove the Camel and CXF version by default
(it's only used in the examples and tests).
I did camel-karaf 4.7.0 now and I will update CXF to support OSGi/Karaf back.

Regards
JB

On Tue, Jul 16, 2024 at 10:07 PM Paul Spencer
<[email protected]> wrote:
>
> Karaf 4.4.6
>
> Should the Camel and CXF versions in karaf/pom.xml be updated from 3.4.0 and 
> 3.5.5 to 3.22.2 and 3.6.3?  The older Camel and CXF feature repositories 
> conflict with each other and Karaf 4.4.6.
>
> Camel version 3.4.0 feature add the following old CXF and Karaf repositories.
> - apache-cxf/3.4.0
> - org.apache.karaf.features/spring-legacy/4.2.9
>
> Camel version 3.22.2, then current "RELEASE" version, only add the CXF 
> version 3.6.2 and pax-cdi-features v1.x repositories.
>
> This became an issues as adding CXF and Camel features.
>
> Notice in the example below, repositories for two version of 
> hibernate-validator-osgi-features, pax.cdi, pax.web, and standard are listed.
>
>
> paul@sparrow apache-karaf-4.4.6 % bin/karaf clean
>         __ __                  ____
>        / //_/____ __________ _/ __/
>       / ,<  / __ `/ ___/ __ `/ /_
>      / /| |/ /_/ / /  / /_/ / __/
>     /_/ |_|\__,_/_/   \__,_/_/
>
>   Apache Karaf (4.4.6)
>
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
>
> karaf@root()> feature:repo-list | sort
> Repository                        │ URL
> aries-jpa-2.7.3                   │ 
> mvn:org.apache.aries.jpa/jpa-features/2.7.3/xml/features
> enterprise-4.4.6                  │ 
> mvn:org.apache.karaf.features/enterprise/4.4.6/xml/features
> framework-4.4.6                   │ 
> mvn:org.apache.karaf.features/framework/4.4.6/xml/features
> hibernate-validator-osgi-features │ 
> mvn:org.hibernate.validator/hibernate-validator-osgi-karaf-features/7.0.2.Final/xml/features
> install-auto-1.0.0                │ 
> bundle://59e2a32b-9cde-440d-bcc8-381621934ad7_55.0:0/META-INF/org.apache.karaf.shell.features/install-auto-1.0.0.xml
> openjpa-3.2.2                     │ 
> mvn:org.apache.openjpa/openjpa-features/3.2.2/xml/features
> org.ops4j.pax.cdi-1.1.4           │ 
> mvn:org.ops4j.pax.cdi/pax-cdi-features/1.1.4/xml/features
> org.ops4j.pax.jdbc-1.5.7          │ 
> mvn:org.ops4j.pax.jdbc/pax-jdbc-features/1.5.7/xml/features
> org.ops4j.pax.web-8.0.27          │ 
> mvn:org.ops4j.pax.web/pax-web-features/8.0.27/xml/features
> pax-jms-1.1.3                     │ 
> mvn:org.ops4j.pax.jms/pax-jms-features/1.1.3/xml/features
> pax-transx-0.5.4                  │ 
> mvn:org.ops4j.pax.transx/pax-transx-features/0.5.4/xml/features
> specs-4.4.6                       │ 
> mvn:org.apache.karaf.features/specs/4.4.6/xml/features
> spring-4.4.6                      │ 
> mvn:org.apache.karaf.features/spring/4.4.6/xml/features
> standard-4.4.6                    │ 
> mvn:org.apache.karaf.features/standard/4.4.6/xml/features
> ──────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
>
>
> karaf@root()> feature:repo-add 
> mvn:org.apache.camel.karaf/apache-camel/3.6.0/xml/features
> Adding feature url mvn:org.apache.camel.karaf/apache-camel/3.6.0/xml/features
> karaf@root()> feature:repo-list | sort
> Repository                        │ URL
> aries-jpa-2.7.3                   │ 
> mvn:org.apache.aries.jpa/jpa-features/2.7.3/xml/features
> camel-3.6.0                       │ 
> mvn:org.apache.camel.karaf/apache-camel/3.6.0/xml/features
> cxf-3.4.0                         │ 
> mvn:org.apache.cxf.karaf/apache-cxf/3.4.0/xml/features
> enterprise-4.4.6                  │ 
> mvn:org.apache.karaf.features/enterprise/4.4.6/xml/features
> framework-4.4.6                   │ 
> mvn:org.apache.karaf.features/framework/4.4.6/xml/features
> hibernate-validator-osgi-features │ 
> mvn:org.hibernate.validator/hibernate-validator-osgi-karaf-features/6.1.5.Final/xml/features
> hibernate-validator-osgi-features │ 
> mvn:org.hibernate.validator/hibernate-validator-osgi-karaf-features/7.0.2.Final/xml/features
> install-auto-1.0.0                │ 
> bundle://59e2a32b-9cde-440d-bcc8-381621934ad7_55.0:0/META-INF/org.apache.karaf.shell.features/install-auto-1.0.0.xml
> jclouds-2.1.2                     │ 
> mvn:org.apache.jclouds.karaf/jclouds-karaf/2.1.2/xml/features
> openjpa-3.2.2                     │ 
> mvn:org.apache.openjpa/openjpa-features/3.2.2/xml/features
> org.ops4j.pax.cdi-1.0.0           │ 
> mvn:org.ops4j.pax.cdi/pax-cdi-features/1.0.0/xml/features
> org.ops4j.pax.cdi-1.1.4           │ 
> mvn:org.ops4j.pax.cdi/pax-cdi-features/1.1.4/xml/features
> org.ops4j.pax.jdbc-1.5.7          │ 
> mvn:org.ops4j.pax.jdbc/pax-jdbc-features/1.5.7/xml/features
> org.ops4j.pax.web-7.2.16          │ 
> mvn:org.ops4j.pax.web/pax-web-features/7.2.16/xml/features
> org.ops4j.pax.web-8.0.27          │ 
> mvn:org.ops4j.pax.web/pax-web-features/8.0.27/xml/features
> pax-jms-1.1.3                     │ 
> mvn:org.ops4j.pax.jms/pax-jms-features/1.1.3/xml/features
> pax-transx-0.5.4                  │ 
> mvn:org.ops4j.pax.transx/pax-transx-features/0.5.4/xml/features
> specs-4.4.6                       │ 
> mvn:org.apache.karaf.features/specs/4.4.6/xml/features
> spring-4.4.6                      │ 
> mvn:org.apache.karaf.features/spring/4.4.6/xml/features
> spring-legacy-4.2.9               │ 
> mvn:org.apache.karaf.features/spring-legacy/4.2.9/xml/features
> standard-4.2.9                    │ 
> mvn:org.apache.karaf.features/standard/4.2.9/xml/features
> standard-4.4.6                    │ 
> mvn:org.apache.karaf.features/standard/4.4.6/xml/features
> ──────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
> karaf@root()>
>
> Paul Spencer
>
>

Reply via email to