You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dolphinscheduler.apache.org by jo...@apache.org on 2020/07/23 02:28:47 UTC

[incubator-dolphinscheduler-maven-plugin] 32/34: add test

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

journey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler-maven-plugin.git

commit 0531f5c241945bd900b86cb09ffcc53dd454c816
Author: gaojun2048 <54...@qq.com>
AuthorDate: Wed Jul 22 15:57:16 2020 +0800

    add test
---
 src/test/projects/excluded-dependency/pom.xml      |  3 +--
 src/test/projects/more-excluded-dependency/pom.xml | 18 ++++++------------
 2 files changed, 7 insertions(+), 14 deletions(-)

diff --git a/src/test/projects/excluded-dependency/pom.xml b/src/test/projects/excluded-dependency/pom.xml
index 5aaa1d6..a51ebd1 100644
--- a/src/test/projects/excluded-dependency/pom.xml
+++ b/src/test/projects/excluded-dependency/pom.xml
@@ -15,7 +15,7 @@
         <dependency>
             <groupId>org.apache.dolphinscheduler</groupId>
             <artifactId>dolphinscheduler-spi</artifactId>
-            <version>1.2.1-SNAPSHOT</version>
+            <version>1.3.2-SNAPSHOT</version>
             <scope>provided</scope>
         </dependency>
 
@@ -24,7 +24,6 @@
             <groupId>com.google.guava</groupId>
             <artifactId>guava</artifactId>
             <version>24.1.1-jre</version>
-            <scope>provided</scope>
         </dependency>
     </dependencies>
 
diff --git a/src/test/projects/more-excluded-dependency/pom.xml b/src/test/projects/more-excluded-dependency/pom.xml
index 43fd897..ba5d6cb 100644
--- a/src/test/projects/more-excluded-dependency/pom.xml
+++ b/src/test/projects/more-excluded-dependency/pom.xml
@@ -20,18 +20,12 @@
         </dependency>
 
         <!-- this dependency is not part of the SPI; it can be provided because it's individually excluded from the check -->
-        <dependency>
-            <groupId>com.google.guava</groupId>
-            <artifactId>guava</artifactId>
-            <version>24.1.1-jre</version>
-            <scope>provided</scope>
-        </dependency>
+
 
         <dependency>
-            <groupId>mysql</groupId>
-            <artifactId>mysql-connector-java</artifactId>
-            <version>5.1.34</version>
-            <scope>provided</scope>
+            <groupId>org.postgresql</groupId>
+            <artifactId>postgresql</artifactId>
+            <version>42.1.4</version>
         </dependency>
     </dependencies>
 
@@ -44,8 +38,8 @@
                 <extensions>true</extensions>
                 <configuration>
                     <allowedProvidedDependencies>
-                        <allowedProvidedDependency>com.google.guava:guava</allowedProvidedDependency>
-                        <allowedProvidedDependency>mysql:mysql-connector-java</allowedProvidedDependency>
+                        <allowedProvidedDependency>com.google.code.findbugs:jsr305</allowedProvidedDependency>
+                        <allowedProvidedDependency>org.postgresql:postgresql</allowedProvidedDependency>
                     </allowedProvidedDependencies>
                 </configuration>
             </plugin>