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

vveider pushed a commit to branch ignite-reduce-test-scope
in repository https://gitbox.apache.org/repos/asf/ignite.git

commit 6403b816b926e9a9ddb00f9da3612438a6e0f4a2
Author: Petr Ivanov <[email protected]>
AuthorDate: Wed Nov 9 11:19:16 2022 +0300

    Test excluding compile scope from maven-surefire-plugin
---
 modules/core/pom.xml | 7 +++++++
 parent/pom.xml       | 1 +
 2 files changed, 8 insertions(+)

diff --git a/modules/core/pom.xml b/modules/core/pom.xml
index 9913700b807..1471a5f37f9 100644
--- a/modules/core/pom.xml
+++ b/modules/core/pom.xml
@@ -43,6 +43,13 @@
             <version>${javax.cache.version}</version>
         </dependency>
 
+        <dependency>
+            <groupId>javax.cache</groupId>
+            <artifactId>cache-api</artifactId>
+            <version>${javax.cache.version}</version>
+            <scope>test</scope>
+        </dependency>
+
         <dependency>
             <groupId>org.jetbrains</groupId>
             <artifactId>annotations</artifactId>
diff --git a/parent/pom.xml b/parent/pom.xml
index 7f2af3df26c..3de41c42640 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -520,6 +520,7 @@
                         <!-- Check all classes that may have any test. -->
                         <include>**/*.java</include>
                     </includes>
+                    
<classpathDependencyScopeExclude>compile</classpathDependencyScopeExclude>
                 </configuration>
             </plugin>
 

Reply via email to