Repository: maven-surefire
Updated Branches:
  refs/heads/feature/jdk10 [created] 3b2e1aaf9


more fixes with jdk10

Signed-off-by: olivier lamy <ol...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/3b2e1aaf
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/3b2e1aaf
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/3b2e1aaf

Branch: refs/heads/feature/jdk10
Commit: 3b2e1aaf900b97f4d7e88ddc156bbb87d71debc2
Parents: 4ec9979
Author: olivier lamy <ol...@apache.org>
Authored: Fri Feb 16 20:35:42 2018 +1000
Committer: olivier lamy <ol...@apache.org>
Committed: Fri Feb 16 20:35:42 2018 +1000

----------------------------------------------------------------------
 maven-surefire-plugin/pom.xml                                    | 2 +-
 pom.xml                                                          | 2 +-
 .../java/org/apache/maven/surefire/booter/SystemUtilsTest.java   | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/3b2e1aaf/maven-surefire-plugin/pom.xml
----------------------------------------------------------------------
diff --git a/maven-surefire-plugin/pom.xml b/maven-surefire-plugin/pom.xml
index 0faecf6..6e17b31 100644
--- a/maven-surefire-plugin/pom.xml
+++ b/maven-surefire-plugin/pom.xml
@@ -86,7 +86,7 @@
       </plugin>
       <plugin>
         <artifactId>maven-assembly-plugin</artifactId>
-        <version>2.6</version>
+        <version>3.1.0</version>
         <executions>
           <execution>
             <id>build-site</id>

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/3b2e1aaf/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 183970a..6bd7970 100644
--- a/pom.xml
+++ b/pom.xml
@@ -264,7 +264,7 @@
       <dependency>
         <groupId>org.mockito</groupId>
         <artifactId>mockito-core</artifactId>
-        <version>2.10.0</version>
+        <version>2.15.0</version>
         <exclusions>
           <exclusion>
             <groupId>org.hamcrest</groupId>

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/3b2e1aaf/surefire-booter/src/test/java/org/apache/maven/surefire/booter/SystemUtilsTest.java
----------------------------------------------------------------------
diff --git 
a/surefire-booter/src/test/java/org/apache/maven/surefire/booter/SystemUtilsTest.java
 
b/surefire-booter/src/test/java/org/apache/maven/surefire/booter/SystemUtilsTest.java
index d1ba04f..20af1ab 100644
--- 
a/surefire-booter/src/test/java/org/apache/maven/surefire/booter/SystemUtilsTest.java
+++ 
b/surefire-booter/src/test/java/org/apache/maven/surefire/booter/SystemUtilsTest.java
@@ -64,8 +64,8 @@ public class SystemUtilsTest
         {
             BigDecimal actual = invokeMethod( SystemUtils.class, 
"getJavaSpecificationVersion" );
             BigDecimal expected = new BigDecimal( System.getProperty( 
"java.specification.version" ) );
-            assertThat( actual ).isEqualTo( expected );
-            assertThat( SystemUtils.JAVA_SPECIFICATION_VERSION ).isEqualTo( 
expected );
+            assertThat( actual .compareTo( expected )).isEqualTo( 0 );
+            assertThat( SystemUtils.JAVA_SPECIFICATION_VERSION.compareTo( 
expected ) ).isEqualTo( 0 );
         }
 
         @Test

Reply via email to