shoffmeister opened a new issue, #1023:
URL: https://github.com/apache/maven-enforcer/issues/1023

   ### Affected version
   
   3.6.3
   
   ### Bug description
   
   Using `searchTransitive` on the `bannedDependencies` rule 
(https://maven.apache.org/enforcer/enforcer-rules/bannedDependencies.html) 
triggers
   
   ```
   ruleName searchTransitive with implementation 
org.apache.maven.plugins.enforcer.SearchTransitive uses the deprecated Maven 
Enforcer Plugin API. This will not be supported in a future version of the 
plugin. Please contact the rule maintainer to upgrade the rule implementation 
to the current API.
   ```
   
   If `<fail>true</fail>`, this will also abort the Maven build process, 
regardless of any other diagnostics.
   
   This reproduces with Java 17 and Java 21 as the Java runtime.
   
   To reproduce, run `mvn validate` on the attached trivial `pom.xml`
   
   [pom.xml](https://github.com/user-attachments/files/31946527/pom.xml)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to