[ 
https://issues.apache.org/jira/browse/CAMEL-18271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Netherton resolved CAMEL-18271.
-------------------------------------
    Fix Version/s: 3.19.0
       Resolution: Fixed

> [Camel Spring Boot Examples] Infinispan example cannot be built
> ---------------------------------------------------------------
>
>                 Key: CAMEL-18271
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18271
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-infinispan, examples
>    Affects Versions: 3.18.0
>            Reporter: Marco Carletti
>            Assignee: James Netherton
>            Priority: Major
>             Fix For: 3.19.0
>
>
> Since dependency _infinispan-core_ has been replaced with 
> _infinispan-commons_ in the _camel-infinispan-common_ component 
> ([commit|https://github.com/apache/camel/commit/f0d22792803a221a016092f606fe49c326f23492]),
>  the artifact _org.apache.camel:camel-infinispan_ doesn't contain anymore the 
> dependency _org.infinispan:infinispan-core_
> maven dependency tree for 3.17.0-SNAPSHOT (starting from 
> {_}org.apache.camel.springboot:camel-infinispan-starter{_})
> {code:bash}
> +- 
> org.apache.camel.springboot:camel-infinispan-starter:jar:3.17.0-SNAPSHOT:compile
> |  \- org.apache.camel:camel-infinispan:jar:3.17.0-SNAPSHOT:compile
> |     +- org.apache.camel:camel-infinispan-common:jar:3.17.0-SNAPSHOT:compile
> |     |  +- org.infinispan:infinispan-core:jar:12.1.11.Final:compile
> |     |  |  +- org.jgroups:jgroups:jar:4.2.12.Final:compile
> |     |  |  +- com.github.ben-manes.caffeine:caffeine:jar:2.9.3:compile
> .....
> {code}
> maven dependency tree for 3.18.0 (starting from 
> {_}org.apache.camel.springboot:camel-infinispan-starter{_})
> {code:bash}
> +- org.apache.camel.springboot:camel-infinispan-starter:jar:3.18.0:compile
> |  \- org.apache.camel:camel-infinispan:jar:3.18.0:compile
> |     +- org.apache.camel:camel-infinispan-common:jar:3.18.0:compile
> |     |  +- org.infinispan:infinispan-commons:jar:13.0.10.Final:compile
> |     |  |  +- com.github.ben-manes.caffeine:caffeine:jar:2.9.3:compile
> .....
> {code}
> this change causes the 
> [camel-example-spring-boot-infinispan|https://github.com/apache/camel-spring-boot-examples/tree/main/infinispan]
>  compilation failure because of the usage of the class 
> _org.infinispan.configuration.cache.CacheMode_ packaged into 
> _infinispan-core_ dependency 
> ([import|https://github.com/apache/camel-spring-boot-examples/blob/main/infinispan/src/main/java/org/apache/camel/example/springboot/infinispan/Application.java#L31])



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to