[ https://issues.apache.org/jira/browse/MPMD-412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17944831#comment-17944831 ]
ASF GitHub Bot commented on MPMD-412: ------------------------------------- Bukama commented on PR #178: URL: https://github.com/apache/maven-pmd-plugin/pull/178#issuecomment-2807233766 Branch fails for me on Windows 10 ``` D:\Github\Maven\maven-pmd-plugin>git status On branch test Your branch is up to date with 'upstream/test'. nothing to commit, working tree clean D:\Github\Maven\maven-pmd-plugin>mvn --version Apache Maven 4.0.0-rc-3 (3952d00ce65df6753b63a51e86b1f626c55a8df2) Maven home: C:\apache-maven-4.0.0-rc-3 Java version: 21.0.1, vendor: Eclipse Adoptium, runtime: C:\JDK\Java21 Default locale: de_DE, platform encoding: UTF-8 OS name: "windows 10", version: "10.0", arch: "amd64", family: "winnt" D:\Github\Maven\maven-pmd-plugin>mvn clean verify site -V Apache Maven 4.0.0-rc-3 (3952d00ce65df6753b63a51e86b1f626c55a8df2) Maven home: C:\apache-maven-4.0.0-rc-3 Java version: 21.0.1, vendor: Eclipse Adoptium, runtime: C:\JDK\Java21 Default locale: de_DE, platform encoding: UTF-8 OS name: "windows 10", version: "10.0", arch: "amd64", family: "winnt" [INFO] [INFO] 1 problem was encountered while building the effective settings (use -e to see details) [INFO] [WARNING] Unable to find the root directory. Create a .mvn directory in the root directory or add the root="true" attribute on the root project's model to identify it. [INFO] Scanning for projects... [INFO] [INFO] --------------------------------------< org.apache.maven.plugins:maven-pmd-plugin >--------------------------------------- [INFO] Building Apache Maven PMD Plugin 3.26.1-SNAPSHOT [INFO] from pom.xml [INFO] -----------------------------------------------------[ maven-plugin ]----------------------------------------------------- [INFO] [INFO] - > Tests are inobviously broken due to overly broad catch clauses > -------------------------------------------------------------- > > Key: MPMD-412 > URL: https://issues.apache.org/jira/browse/MPMD-412 > Project: Maven PMD Plugin > Issue Type: Bug > Reporter: Elliotte Rusty Harold > Priority: Blocker > > See https://github.com/apache/maven-pmd-plugin/pull/178 > We're catching java.lang.Exception and thus often missing that the wrong > exception is being caught, and that the test is in fact failing. -- This message was sent by Atlassian Jira (v8.20.10#820010)