You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2020/04/14 20:23:00 UTC

[maven-surefire] branch parent34 updated (c6e5f02 -> 3f862f6)

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

tibordigana pushed a change to branch parent34
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git.


    from c6e5f02  parent 34 with -DskipTests
     new 0fb8967  we support single JDK 9+
     new 3f862f6  smoke test on JDK11

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/maven.yml                    |  4 ++--
 .github/workflows/{maven.yml => smoketest.yml} | 18 ++++++------------
 .travis.yml                                    |  5 +----
 pom.xml                                        | 14 +++++++++++---
 4 files changed, 20 insertions(+), 21 deletions(-)
 copy .github/workflows/{maven.yml => smoketest.yml} (79%)


[maven-surefire] 02/02: smoke test on JDK11

Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch parent34
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git

commit 3f862f6701ddd4cbd45ed7d1cc7063e835caa10c
Author: tibordigana <ti...@apache.org>
AuthorDate: Tue Apr 14 22:22:53 2020 +0200

    smoke test on JDK11
---
 .github/workflows/smoketest.yml | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/.github/workflows/smoketest.yml b/.github/workflows/smoketest.yml
new file mode 100644
index 0000000..d8e5181
--- /dev/null
+++ b/.github/workflows/smoketest.yml
@@ -0,0 +1,36 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: Unit Tests
+
+on: [pull_request]
+
+jobs:
+  build:
+    runs-on: macOS-latest
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+
+      - name: Set up JDK 11
+        uses: actions/setup-java@v1
+        with:
+          java-version: 11
+
+      - name: Build with Maven
+        run: mvn install -e -B -V -nsu --no-transfer-progress -P run-its -DskipITs


[maven-surefire] 01/02: we support single JDK 9+

Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch parent34
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git

commit 0fb896771e7b76f9a19e3a708cdcf1926be3c2ac
Author: tibordigana <ti...@apache.org>
AuthorDate: Tue Apr 14 22:20:15 2020 +0200

    we support single JDK 9+
---
 .github/workflows/maven.yml |  4 ++--
 .travis.yml                 |  5 +----
 pom.xml                     | 14 +++++++++++---
 3 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 2e147e6..d49a1cf 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -33,10 +33,10 @@ jobs:
       - name: Checkout
         uses: actions/checkout@v1
 
-      - name: Set up JDK 1.8
+      - name: Set up JDK 11
         uses: actions/setup-java@v1
         with:
-          java-version: 1.8
+          java-version: 11
 
       - name: Build with Maven
         run: mvn install -e -B -V -nsu --no-transfer-progress -P run-its -DskipTests
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
index 9018b72..b5e3d5b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,7 +23,7 @@ cache:
   - "$HOME/.m2"
 
 install: true
-jdk: openjdk8
+jdk: openjdk14
 
 jobs:
   include:
@@ -33,6 +33,3 @@ jobs:
     - stage: mvn build
       script: mvn clean install -e -B -V -nsu -P run-its -DskipITs -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -DskipTests
 
-branches:
-  only:
-  - master
diff --git a/pom.xml b/pom.xml
index 87af8ac..b04d39b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -616,7 +616,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-enforcer-plugin</artifactId>
-        <version>3.0.0-M2</version>
+        <version>3.0.0-M3</version>
         <executions>
           <execution>
             <id>enforce-java</id>
@@ -627,8 +627,7 @@
               <rules>
                 <requireJavaVersion>
                   <!-- We use JDK 1.8 to check -Xdoclint:all at compile time but with javac -source 1.7 -target 1.7 -->
-                  <!-- enforcer:1.3.1 fails on jdk9. 3.0.0-M2 does not but surefire:12.2.4 crashes later. -->
-                  <version>[1.8, 1.9)</version>
+                  <version>[1.8, )</version>
                 </requireJavaVersion>
               </rules>
             </configuration>
@@ -738,5 +737,14 @@
         </plugins>
       </reporting>
     </profile>
+    <profile>
+      <id>jdk9+</id>
+      <activation>
+        <jdk>[9, )</jdk>
+      </activation>
+      <properties>
+          <jdk.home>${java.home}</jdk.home>
+      </properties>
+    </profile>
   </profiles>
 </project>