This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 6f8cba8  CAMEL-12615: exclude com.sun.java:tools from ca...
6f8cba8 is described below

commit 6f8cba85472efe59f04665ed1200608b9f6cfff0
Author: Zoran Regvart <zregv...@apache.org>
AuthorDate: Tue Jul 3 15:12:56 2018 +0200

    CAMEL-12615: exclude com.sun.java:tools from ca...
    
    ...mel-chronicle
    
    This excludes com.sun.java:tools dependency from
    net.openhft:chronicle-engine, this seems like the best option for having
    Java 10+ compatibility. The component doesn't reference any tools
    (javac or similar) and the users can add those if needed.
---
 components/camel-chronicle/pom.xml | 19 ++++---------------
 1 file changed, 4 insertions(+), 15 deletions(-)

diff --git a/components/camel-chronicle/pom.xml 
b/components/camel-chronicle/pom.xml
index 11bb840..a42e20f 100644
--- a/components/camel-chronicle/pom.xml
+++ b/components/camel-chronicle/pom.xml
@@ -59,6 +59,10 @@
           <groupId>net.java.dev.jna</groupId>
           <artifactId>jna-platform</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>com.sun.java</groupId>
+          <artifactId>tools</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
     <dependency>
@@ -105,21 +109,6 @@
       <activation>
         <jdk>[9,)</jdk>
       </activation>
-      <dependencyManagement>
-        <dependencies>
-          <dependency>
-            <groupId>net.openhft</groupId>
-            <artifactId>chronicle-engine</artifactId>
-            <version>${chronicle-engine-version}</version>
-            <exclusions>
-              <exclusion>
-                <groupId>com.sun.java</groupId>
-                <artifactId>tools</artifactId>
-              </exclusion>
-            </exclusions>
-          </dependency>
-        </dependencies>
-      </dependencyManagement>
       <build>
         <plugins>
           <plugin>

Reply via email to