Skip to content

Commit

Permalink
[build] split plugin resolution and build
Browse files Browse the repository at this point in the history
  • Loading branch information
rmannibucau committed May 13, 2024
1 parent cd3345d commit 4394ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: Github CI
on: [push, pull_request, workflow_dispatch]

env:
MAVEN_OPTS: -Dmaven.repo.local=/home/runner/work/fusion-examples/fusion-examples/.m2 -Dm2.location=/home/runner/work/fusion-examples/fusion-examples/.m2 -Dmaven.artifact.threads=256 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn --errors --batch-mode
MAVEN_OPTS: -Dmaven.repo.local=/home/runner/work/fusion-examples/fusion-examples/.m2 -Dm2.location=/home/runner/work/fusion-examples/fusion-examples/.m2 -Dmaven.artifact.threads=256 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn

jobs:
build:
Expand All @@ -43,7 +43,7 @@ jobs:
run: |
mvn --show-version org.apache.maven.plugins:maven-wrapper-plugin:3.3.1:wrapper "-Dmaven=3.9.6"
./mvnw dependency:resolve dependency:resolve-plugins --show-version
./mvnw install
./mvnw install --errors --batch-mode
- name: Remove Snapshots Before Caching
run: find /home/runner/work/fusion/fusion/.m2 -name '*SNAPSHOT' | xargs rm -Rf
security_audit:
Expand Down

0 comments on commit 4394ce5

Please sign in to comment.