diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c8af8c7881..6082581b0c 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -46,7 +46,7 @@ jobs: - name: Build with Maven run: >- - mvn verify --show-version --errors --batch-mode --no-transfer-progress -Pdocs + mvn verify --show-version --errors --batch-mode -Pdocs -Dgh_user=${{ github.actor }} -Dgh_token=${{ secrets.GITHUB_TOKEN }} build-all: @@ -88,13 +88,13 @@ jobs: - name: Build with Maven (Linux) if: matrix.os == 'ubuntu-latest' && matrix.jdk <= 17 run: >- - mvn verify --show-version --errors --batch-mode --no-transfer-progress -Pdocs + mvn verify --show-version --errors --batch-mode -Pdocs -Dgh_user=${{ github.actor }} -Dgh_token=${{ secrets.GITHUB_TOKEN }} - name: Build with Maven (non-Linux or JDK > 17) if: matrix.os != 'ubuntu-latest' || matrix.jdk > 17 run: >- - mvn verify --show-version --errors --batch-mode --no-transfer-progress -Pdocs + mvn verify --show-version --errors --batch-mode -Pdocs -Pskip_jakarta_ee_tests - name: Archive test run logs diff --git a/.jenkins.groovy b/.jenkins.groovy index ff84288606..83cf614496 100644 --- a/.jenkins.groovy +++ b/.jenkins.groovy @@ -93,7 +93,7 @@ pipeline { stage('Build') { steps { echo 'Building' - sh 'mvn clean verify --show-version --errors --batch-mode --no-transfer-progress -Pdocs \ + sh 'mvn clean verify --show-version --errors --batch-mode -Pdocs \ -Dmaven.test.failure.ignore=true -Pskip_jakarta_ee_tests' } post { diff --git a/support/jakarta-ee/src/main/java/org/apache/shiro/ee/listeners/IniEnvironment.java b/support/jakarta-ee/src/main/java/org/apache/shiro/ee/listeners/IniEnvironment.java index 433cd8abec..fc0781addf 100644 --- a/support/jakarta-ee/src/main/java/org/apache/shiro/ee/listeners/IniEnvironment.java +++ b/support/jakarta-ee/src/main/java/org/apache/shiro/ee/listeners/IniEnvironment.java @@ -50,7 +50,7 @@ private static final class SecurityManagerFactory extends WebIniSecurityManagerF @Override protected Map createDefaults(Ini ini, Ini.Section mainSection) { @SuppressWarnings("unchecked") - Map defaults = (Map) super.createDefaults(ini, mainSection); + Map defaults = null; try { // SSL filter must be first because it will trigger an exception if OmniFaces is not available var sslFilter = new SslFilter();