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

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 813597e  ISIS-1869 fix surefire setup
813597e is described below

commit 813597e1a4fa287dbb08aa5e7b975190cdec47d0
Author: Andi Huber <ahu...@apache.org>
AuthorDate: Thu Feb 22 14:43:39 2018 +0100

    ISIS-1869 fix surefire setup
    
    include all tests regardless of naming unless explicitly excluded
    
    also update surefire plugin version to the latest available
---
 core/pom.xml | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/core/pom.xml b/core/pom.xml
index 6c43c37..c9475a8 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -56,7 +56,6 @@
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 
-        <testsToInclude>**/*Test_*.java</testsToInclude>
         <testsToExclude>**/*IntegrationTest.java</testsToExclude>
 
         <!-- remaining properties should not need to be overridden -->
@@ -602,16 +601,12 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-surefire-plugin</artifactId>
-                    <version>2.16</version>
+                    <version>2.20.1</version>
                     <configuration>
-                    <!-- 
+                       <!-- override defaults and include everything unless 
explicitly excluded -->
                         <includes>
-                            <include>**/Test*.java</include>
-                            <include>**/*Test.java</include>
-                            <include>**/*TestCase.java</include>
-                            <include>**/*Test_*.java</include>
+                            <include>**/*.java</include>
                         </includes>
-                     -->
                         <excludes>
                             <exclude>${testsToExclude}</exclude>
                         </excludes>
@@ -625,7 +620,7 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-surefire-report-plugin</artifactId>
-                    <version>2.16</version>
+                    <version>2.20.1</version>
                     <!-- goal:report is a report so is configured in the 
                         reporting section; invokes phase:test before running 
itself -->
                 </plugin>

-- 
To stop receiving notification emails like this one, please contact
ahu...@apache.org.

Reply via email to