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

baunsgaard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git


The following commit(s) were added to refs/heads/main by this push:
     new b122f3c7bf [MINOR] Fix Visual Code pom.xml
b122f3c7bf is described below

commit b122f3c7bf54f7487ce69d581ae52a11675c2b12
Author: baunsgaard <[email protected]>
AuthorDate: Mon Mar 20 16:01:15 2023 +0100

    [MINOR] Fix Visual Code pom.xml
    
    Unfortunately a recent update in Visual code no longer compile our
    tests in the IDE, this is because we have a setting for maven.test.skip
    set to false. The reason we have this on false is to skip compiling tests
    if we want to package the project.
    
    To enable IDE support for the Tests i have changed it to true, and
    set the system to run a minimal set of usertests on build time.
---
 pom.xml | 24 +++++++++---------------
 1 file changed, 9 insertions(+), 15 deletions(-)

diff --git a/pom.xml b/pom.xml
index e71bd9f9d5..7a78f9a70e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -56,7 +56,8 @@
                <java.level>11</java.level>
                <java.version>{java.level}</java.version>
                <!-->Testing settings<!-->
-               <maven.test.skip>true</maven.test.skip>
+               <maven.test.skip>false</maven.test.skip>
+               <test>org.apache.sysds.test.usertest.**</test>
                <test-parallel>classes</test-parallel>
                <test-threadCount>2</test-threadCount>
                <test-forkCount>1C</test-forkCount>
@@ -250,7 +251,7 @@
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
-                               <version>3.8.1</version> <!--$NO-MVN-MAN-VER$-->
+                               <version>3.11.0</version> 
<!--$NO-MVN-MAN-VER$-->
                                <configuration>
                                        <source>${java.level}</source>
                                        <target>${java.level}</target>
@@ -262,7 +263,7 @@
                                <!-- unit tests -->
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-surefire-plugin</artifactId>
-                               <version>3.0.0-M5</version>
+                               <version>3.0.0-M9</version>
                                <configuration>
                                        
<skipTests>${maven.test.skip}</skipTests>
                                        <parallel>${test-parallel}</parallel>
@@ -272,11 +273,10 @@
                                        <reuseForks>false</reuseForks>
                                        <!-- <reportFormat>brief</reportFormat> 
-->
                                        <trimStackTrace>true</trimStackTrace>
-                                       <showSuccess>false</showSuccess>
                                        
<rerunFailingTestsCount>${rerun.failing.tests.count}</rerunFailingTestsCount>
-                                       <systemProperties>
+                                       <systemPropertyVariables>
                                                
<log4j.configurationFile>file:src/test/resources/log4j.properties</log4j.configurationFile>
-                                       </systemProperties>
+                                       </systemPropertyVariables>
                                </configuration>
                        </plugin>
 
@@ -345,7 +345,7 @@
                        <plugin>
                                <groupId>org.jacoco</groupId>
                                <artifactId>jacoco-maven-plugin</artifactId>
-                               <version>0.8.7</version>
+                               <version>0.8.8</version>
                                <configuration>
                                        <includes>
                                                
<include>${jacoco.include}</include>
@@ -368,16 +368,10 @@
                                </executions>
                        </plugin>
 
-                       <plugin>
-                               <groupId>org.eluder.coveralls</groupId>
-                               <artifactId>coveralls-maven-plugin</artifactId>
-                               <version>4.3.0</version>
-                       </plugin>
-
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-javadoc-plugin</artifactId>
-                               <version>3.2.0</version>
+                               <version>3.5.0</version>
                                <configuration>
                                        <quiet>true</quiet>
                                        <!-- Skip java docs creation if not 
explicitly asked, to create use -P distribution-->
@@ -765,7 +759,7 @@
                                        <plugin>
                                                
<groupId>org.apache.maven.plugins</groupId>
                                                
<artifactId>maven-remote-resources-plugin</artifactId>
-                                               <version>1.4</version>
+                                               <version>3.0.0</version>
                                                <executions>
                                                        <execution>
                                                                <goals>

Reply via email to