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 47c4279aa10c3fa40c0d328d9e541fed75abda36
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 | 1 +
 parent/pom.xml       | 1 +
 2 files changed, 2 insertions(+)

diff --git a/modules/core/pom.xml b/modules/core/pom.xml
index 9913700b807..564d16bcd20 100644
--- a/modules/core/pom.xml
+++ b/modules/core/pom.xml
@@ -41,6 +41,7 @@
             <groupId>javax.cache</groupId>
             <artifactId>cache-api</artifactId>
             <version>${javax.cache.version}</version>
+            <scope>test</scope>
         </dependency>
 
         <dependency>
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