diff options
Diffstat (limited to '.github/workflows/maven.yml')
-rw-r--r-- | .github/workflows/maven.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 59a27569e..159359d9e 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,5 +1,8 @@ # This workflow will build a Java project with Maven # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven +# +# Suppress Maven download messages by "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn", +# see https://blogs.itemis.com/en/in-a-nutshell-removing-artifact-messages-from-maven-log-output. name: Build AspectJ @@ -53,7 +56,7 @@ jobs: - name: Compile + package code # Also install (not just package) for subsequent build steps - run: ./mvnw -B --file pom.xml -DskipTests install + run: ./mvnw -B --file pom.xml -DskipTests install "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn" - name: Attach aspectjrt to build uses: actions/upload-artifact@v4 @@ -92,7 +95,7 @@ jobs: installer/target/flattened-pom.xml - name: Create docs - run: ./mvnw -B --file pom.xml -DskipTests package -pl docs -P create-docs + run: ./mvnw -B --file pom.xml -DskipTests package -pl docs -P create-docs "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn" - name: Attach docs to build uses: actions/upload-artifact@v4 @@ -102,4 +105,4 @@ jobs: path: aj-build/dist/docs/ - name: Run Tests - run: ./mvnw -B --file pom.xml -Daspectj.tests.verbose=false verify + run: ./mvnw -B --file pom.xml -Daspectj.tests.verbose=false verify "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn" |