Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.8.0
-
None
-
Unknown
Description
I get the following error trying to build camel-braintree-starter
[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]
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.