You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2023/02/19 09:21:47 UTC

[maven-jdeprscan-plugin] branch actions updated (8ff41a5 -> f76f670)

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

slachiewicz pushed a change to branch actions
in repository https://gitbox.apache.org/repos/asf/maven-jdeprscan-plugin.git


 discard 8ff41a5  (doc) cleanup toolchain setup
     new f76f670  (doc) cleanup toolchain setup

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (8ff41a5)
            \
             N -- N -- N   refs/heads/actions (f76f670)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 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.yaml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)


[maven-jdeprscan-plugin] 01/01: (doc) cleanup toolchain setup

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

slachiewicz pushed a commit to branch actions
in repository https://gitbox.apache.org/repos/asf/maven-jdeprscan-plugin.git

commit f76f670daf3f81e879724debea9d35bde0d3f586
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Feb 19 10:19:35 2023 +0100

    (doc) cleanup toolchain setup
---
 .github/workflows/maven.yaml | 31 +++++--------------------------
 1 file changed, 5 insertions(+), 26 deletions(-)

diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index 4e29f8b..fb705b9 100644
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@ -34,34 +34,14 @@ jobs:
       - name: Checkout
         uses: actions/checkout@v2
 
+# https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#modifying-maven-toolchains
       - name: Install Toolchain JDK
         if: ${{ matrix.java == '8' }}
-        uses: AdoptOpenJDK/install-jdk@v1
+        uses: actions/setup-java@v3
         with:
-          version: '11'
-          targets: 'TOOLCHAIN_JDK'
-          impl: 'openj9'
-
-      - name: Set up Toolchain
-        if: ${{ matrix.java == '8' }}
-        shell: bash
-        run: |
-          mkdir -p $HOME/.m2 \
-          && cat << EOF > $HOME/.m2/toolchains.xml
-          <?xml version="1.0" encoding="UTF8"?>
-          <toolchains>
-            <toolchain>
-              <type>jdk</type>
-                <provides>
-                  <version>11</version>
-                  <vendor>adopt</vendor>
-                </provides>
-                <configuration>
-                  <jdkHome>${{ env.TOOLCHAIN_JDK }}</jdkHome>
-                </configuration>
-            </toolchain>
-          </toolchains>
-          EOF
+          distribution: 'temurin'
+          java-version: 11
+          cache: 'maven'
 
       - name: Set up JDK
         uses: actions/setup-java@v3
@@ -72,4 +52,3 @@ jobs:
 
       - name: Build with Maven
         run: mvn verify --errors --batch-mode --version '-Prun-its'
-