[
https://issues.apache.org/jira/browse/CAMEL-12615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoran Regvart resolved CAMEL-12615.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.23.0
2.22.1
I opted to exclude the {{com.sun.java:tools}} brought in as transient
dependency of {{net.openhft:chronicle-engine}} by {{net.openhft:lang}}. Not
sure if this ends up breaking user code. If it does the users would need to
redeclare this dependency or we would need to exclude {{camel-chronicle}} and
{{camel-chronicle-starter}} from Java 9+ tests.
See https://github.com/OpenHFT/Java-Lang/issues/83
> tools.jar missing in Java 9+ needed by camel-chronicle-starter
> --------------------------------------------------------------
>
> Key: CAMEL-12615
> URL: https://issues.apache.org/jira/browse/CAMEL-12615
> Project: Camel
> Issue Type: Sub-task
> Components: camel-chronicle, camel-spring-boot-starters
> Reporter: Zoran Regvart
> Assignee: Zoran Regvart
> Priority: Major
> Fix For: 2.22.1, 2.23.0
>
>
> An error in the daily build:
> {code}
> [ERROR] Failed to execute goal on project camel-chronicle-starter: Could not
> resolve dependencies for project
> org.apache.camel:camel-chronicle-starter:jar:2.22.0-SNAPSHOT: Could not find
> artifact com.sun.java:tools:jar:9.0.1 at specified path
> /usr/local/asfpackages/java/jdk-9.0.1/../lib/tools.jar -> [Help 2]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal on project camel-chronicle-starter: Could not resolve dependencies for
> project org.apache.camel:camel-chronicle-starter:jar:2.22.0-SNAPSHOT: Could
> not find artifact com.sun.java:tools:jar:9.0.1 at specified path
> /usr/local/asfpackages/java/jdk-9.0.1/../lib/tools.jar
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)