stataru8 commented on issue #502:
URL: https://github.com/apache/camel-karaf/issues/502#issuecomment-2376713260
Hello, thank you for providing the additional information.
In the error logs, I'm seeing 3 different errors, in the following order
- failed to install
`com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1` because `mvn` is
missing
- failed to install
`mvn:com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1`, because
`com.fasterxml.jackson.core` is missing. Before getting this one, did you had
the feature `camel-jackson` installed? The output of `list -t 0 -u | grep
jackson` you shared is the expected one if `camel-jackson` was installed.
- failed to install `mvn:com.fasterxml.jackson.datatype/jackson-core/2.17.1`
because the maven artifact doesn't exist.
I've tried to install the following feature, and it worked fine, all the
jackson bundles could get into the **Active** state.
```
<feature name="my-feature">
<feature version="4.7.0">camel</feature>
<feature>camel-blueprint</feature>
<feature>camel-jackson</feature>
<feature>camel-jsonpath</feature>
<feature>camel-jms</feature>
<feature>camel-http</feature>
<feature>camel-sql</feature>
<feature>camel-freemarker</feature>
<bundle>mvn:com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1</bundle>
<bundle>mvn:com.fasterxml.jackson.datatype/jackson-datatype-jsr310/2.17.1</bundle>
<bundle>mvn:org.apache.commons/commons-lang3/3.14.0</bundle>
</feature>
```
```
karaf@root()> list -t 0 -u | grep jackson
90 | Active | 50 | 4.7.0 |
mvn:org.apache.camel.karaf/camel-jackson/4.7.0
120 | Active | 80 | 2.17.1 |
mvn:com.fasterxml.jackson.core/jackson-annotations/2.17.1
121 | Active | 80 | 2.17.1 |
wrap:mvn:com.fasterxml.jackson.core/jackson-core/2.17.1$overwrite=merge&Bundle-Version=2.17.1&SPI-Provider=*
122 | Active | 80 | 2.17.1 |
mvn:com.fasterxml.jackson.core/jackson-databind/2.17.1
123 | Active | 80 | 2.17.1 |
mvn:com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1
124 | Active | 80 | 2.17.1 |
mvn:com.fasterxml.jackson.datatype/jackson-datatype-jsr310/2.17.1
```
I’m not sure about the contents of the other features above the `camel`
ones, so it’s possible that one of them includes
`<bundle>mvn:com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.17.1</bundle>`
but is missing the other required Jackson bundles. I think it’s safe to change
the order of the features and declare the camel features first.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]