You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2024/09/20 17:56:00 UTC
[jira] [Assigned] (CAMEL-21243) camel-braintree-starter tries to use org.osgi:org.osgi.core:8.0.0
[ https://issues.apache.org/jira/browse/CAMEL-21243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-21243:
-----------------------------------
Assignee: Thomas Cunningham
> camel-braintree-starter tries to use org.osgi:org.osgi.core:8.0.0
> -----------------------------------------------------------------
>
> Key: CAMEL-21243
> URL: https://issues.apache.org/jira/browse/CAMEL-21243
> Project: Camel
> Issue Type: Bug
> Components: camel-braintree, camel-spring-boot
> Affects Versions: 4.8.0
> Reporter: Thomas Cunningham
> Assignee: Thomas Cunningham
> Priority: Major
> Fix For: 4.8.1, 4.9.0
>
>
> I get the following error trying to build camel-braintree-starter
> {code:java}
> [INFO] --------< org.apache.camel.springboot:camel-braintree-starter >---------
> [INFO] Building Camel SB Starters :: Braintree 4.9.0-SNAPSHOT
> [INFO] from pom.xml
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The POM for org.osgi:org.osgi.core:jar:8.0.0 is missing, no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 0.492 s
> [INFO] Finished at: 2024-09-19T07:48:51-04:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project camel-braintree-starter: Could not resolve dependencies for project org.apache.camel.springboot:camel-braintree-starter:jar:4.9.0-SNAPSHOT
> [ERROR] dependency: org.osgi:org.osgi.core:jar:8.0.0 (compile)
> [ERROR] org.osgi:org.osgi.core:jar:8.0.0 was not found in http://10.0.144.111:8081/repository/maven-public/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of fuse-repository has elapsed or updates are forced
> [ERROR]{code}
> It looks like org.osgi:org.osgi.core:8.0.0 does not exist - the last version was 6.0.0, and then it was renamed to org.osgi:osgi.core - [https://mvnrepository.com/artifact/org.osgi/osgi.core]
>
> com.braintreepayments.gateway:braintree-java:3.35.0 uses org.osgi:org.osgi.core:4.2.0 [https://repo1.maven.org/maven2/com/braintreepayments/gateway/braintree-java/3.35.0/braintree-java-3.35.0.pom] but my guess is something wrong with the manifest settings? I'd like to add a dependencyManagement entry to force use of org.osgi:org.osgi.core:4.2.0 so that camel-braintree-starter compiles.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)