[ https://issues.apache.org/jira/browse/MNG-7648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17735148#comment-17735148 ]
ASF GitHub Bot commented on MNG-7648: ------------------------------------- pavelhoral commented on PR #940: URL: https://github.com/apache/maven/pull/940#issuecomment-1598178832 > @pavelhoral Do you know if alpha 5 has this regression again? Testing alpha 4 here https://github.com/hazendaz/spotbugs-maven-plugin/actions/workflows/it-maven-4.0.0.yaml and it works, the prior runs for same job used alpha 5 and seems broken again. Just wonder if you are seeing same behaviour. It shouldn't be the same bug as that would have been caught by the unit tests (I hope). Interesting thing is that the enforcer rule fails only on Java 17 and not Java 11: <details><summary>Java 11 run</summary> ```console /tmp/spotbugs-maven-plugin$ JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/ /srv/repo/maven/apache-maven-4.0.0-alpha-5/bin/mvn -B -V clean install -Dlicense.skip=true -Dmaven.min-version=4.0.0-alpha-5 --no-transfer-progress Apache Maven 4.0.0-alpha-5 (26d10a4bf9a2df75feef60da01d8706f2bf77a47) Maven home: /srv/repo/maven/apache-maven-4.0.0-alpha-5 Java version: 11.0.19, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "5.19.0-43-generic", arch: "amd64", family: "unix" [INFO] Scanning for projects... [INFO] [INFO] --------------------------------------< com.github.spotbugs:spotbugs-maven-plugin >--------------------------------------- [INFO] Building spotbugs-maven-plugin 4.7.3.6-SNAPSHOT [INFO] from pom.xml [INFO] -----------------------------------------------------[ maven-plugin ]----------------------------------------------------- [INFO] [INFO] - > Generated model reader is not setting location information > ---------------------------------------------------------- > > Key: MNG-7648 > URL: https://issues.apache.org/jira/browse/MNG-7648 > Project: Maven > Issue Type: Bug > Components: Core > Affects Versions: 3.8.7, 4.0.0-alpha-3 > Reporter: Pavel Horal > Assignee: Slawomir Jaranowski > Priority: Major > Fix For: 3.8.8, 3.9.0, 4.0.0-alpha-4, 4.0.0 > > > -Generated model reader is not setting {{location}} property - > [https://github.com/apache/maven/blob/e73a0b00fde80c400a6d854ec0c2ba7436325eed/maven-toolchain-model/src/main/mdo/reader.vm#L683] > .- > Project model does not have location property in plugin execution (potential > issue when merging model parent configuration?). This causes issues for > example in Maven Enforcer Plugin which uses this information (see > [MENFORCER-447|https://issues.apache.org/jira/browse/MENFORCER-447?focusedCommentId=17651671&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17651671]). -- This message was sent by Atlassian Jira (v8.20.10#820010)