Ah, okay.

I confirm it works with
    <bundleReplacements>
        <bundle mode="maven" 
originalUri="mvn:org.apache.camel/camel-commands-core/3.2.0" 
replacement="mvn:org.apache.camel.karaf/camel-commands-core/3.2.0"/>
    </bundleReplacements>
added to etc/org.apache.karaf.features.xml (just in case someone may find this 
workaround useful).

So no JIRA issue needed?

Best regards,
Konstantin Chernov.

06.04.2020, 19:46 пользователь "Andrea Cosentino" <anco...@gmail.com> написал:

    No, it's a known bug.
    
    We released it
    
    You just need to update the feature
    
    <bundle>mvn:org.apache.camel/camel-commands-core/3.2.0</bundle> to
    <bundle>mvn:org.apache.camel.karaf/camel-commands-core/3.2.0</bundle>
    
    It's already fixed for the next release.
    
    Il giorno lun 6 apr 2020 alle ore 14:42 Константин Чернов <
    k.j.cher...@gmail.com> ha scritto:
    
    > Hi!
    >
    >
    >
    > Tried to update to 3.2.0 on karaf-4.2.8, got following error:
    >
    >         Caused by: java.io.IOException: Error resolving artifact
    > org.apache.camel:camel-commands-core:jar:3.2.0: [Could not find artifact
    > org.apache.camel:camel-commands-core:jar:3.2.0 in central (
    > https://repo1.maven.org/maven2/)]
    >
    >
    >
    > Looking at
    > 
https://repo1.maven.org/maven2/org/apache/camel/karaf/apache-camel/3.2.0/apache-camel-3.2.0-features.xml
    > there must be something wrong in the conditional in camel-core:
    >
    > <conditional>
    >
    > <condition>shell</condition>
    >
    > <bundle>mvn:org.apache.camel/camel-commands-core/3.2.0</bundle>
    >
    > <bundle>
    >
    > mvn:org.apache.camel.karaf/camel-karaf-commands/3.2.0
    >
    > </bundle>
    >
    > </conditional>
    >
    >
    >
    > Or maybe I’m doing something wrong?
    >
    >
    >
    > Best regards,
    >
    > Konstantin Chernov.
    >
    >
    


Reply via email to