You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Vincent (Jira)" <ji...@apache.org> on 2022/08/26 07:51:00 UTC
[jira] [Created] (CAMEL-18431) camel-spring-security feature
Vincent created CAMEL-18431:
-------------------------------
Summary: camel-spring-security feature
Key: CAMEL-18431
URL: https://issues.apache.org/jira/browse/CAMEL-18431
Project: Camel
Issue Type: Bug
Components: camel-spring-security
Affects Versions: 3.15.0
Reporter: Vincent
Hi,
I would like to install camel-spring-security in my Karaf 4.3.6.
It seems that feature _camel-spring-security_ has disappeared in version 3.15.0 : https://repo1.maven.org/maven2/org/apache/camel/karaf/apache-camel/3.15.0/apache-camel-3.15.0-features.xml.
So I tried to install it without feature :
{code:java}
feature:install spring-security
install -s mvn:org.apache.camel/camel-spring-security/3.15.0 {code}
But Karaf gives me the following error :
{code:java}
Error executing command: Error installing bundles:
Unable to start bundle mvn:org.apache.camel/camel-spring-security/3.15.0: org.osgi.framework.BundleException: Unable to resolve org.apache.camel.camel-spring-security [263](R 263.0): missing requirement [org.apache.camel.camel-spring-security [263](R 263.0)] osgi.wiring.package; (&(osgi.wiring.package=org.springframework.security.access)(version>=4.0.0)(!(version>=5.0.0))) Unresolved requirements: [[org.apache.camel.camel-spring-security [263](R 263.0)] osgi.wiring.package; (&(osgi.wiring.package=org.springframework.security.access)(version>=4.0.0)(!(version>=5.0.0)))]{code}
When I look at the pom, I see that camel-spring-security depends on spring-core in version 5.3.15 :
{code:java}
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>5.3.15</version>
<scope>compile</scope>
</dependency> {code}
But when I look at the Manifest, it requires the following version :
{code:java}
org.springframework.security.core.
context;version="[4,5)" {code}
All 4.x.y version but not 5.x.y version.
Do you have an idea?
Thank you for your help
--
This message was sent by Atlassian Jira
(v8.20.10#820010)