Selaa lähdekoodia

resove Could not resolve dependencies for project com.alibaba.otter:client-adapter.hbase:jar:1.1.4-SNAPSHOT: Could not find artifact jdk.tools:jdk.tools:jar:1.7 at specified path

Xin Wang 6 vuotta sitten
vanhempi
commit
21309cb065
2 muutettua tiedostoa jossa 4 lisäystä ja 7 poistoa
  1. 4 0
      client-adapter/hbase/pom.xml
  2. 0 7
      pom.xml

+ 4 - 0
client-adapter/hbase/pom.xml

@@ -26,6 +26,10 @@
                     <groupId>org.slf4j</groupId>
                     <artifactId>slf4j-log4j12</artifactId>
                 </exclusion>
+                <exclusion>
+                    <groupId>jdk.tools</groupId>
+                    <artifactId>jdk.tools</artifactId>
+                </exclusion>
             </exclusions>
         </dependency>
         <dependency>

+ 0 - 7
pom.xml

@@ -313,13 +313,6 @@
                 <artifactId>rocketmq-client</artifactId>
                 <version>4.3.0</version>
             </dependency>
-            <dependency>
-                <groupId>jdk.tools</groupId>
-                <artifactId>jdk.tools</artifactId>
-                <version>1.7</version>
-                <scope>system</scope>
-                <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
-            </dependency>
         </dependencies>
     </dependencyManagement>