Reduce warnings due to the missing license plugin

Closes #30465

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
Alexander Schwartz 2024-06-15 13:48:56 +02:00 committed by Alexander Schwartz
parent 5ee271e787
commit fdf4853818

View file

@ -31,9 +31,11 @@ runs:
- id: build-keycloak - id: build-keycloak
name: Build Keycloak name: Build Keycloak
shell: bash shell: bash
# By using "dependency:resolve", it will download all dependencies used in later stages for running the tests
run: | run: |
./mvnw install dependency:resolve -V -e -DskipTests -DskipExamples # Ensure this plugin is built first to avoid warnings in the build
./mvnw install -Pdistribution -am -pl distribution/maven-plugins/licenses-processor
# By using "dependency:resolve", it will download all dependencies used in later stages for running the tests
./mvnw install dependency:resolve -V -e -DskipTests -DskipExamples -DexcludeGroupIds=org.keycloak -Dsilent=true
- id: compress-keycloak-maven-repository - id: compress-keycloak-maven-repository
name: Compress Keycloak Maven artifacts name: Compress Keycloak Maven artifacts