This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 5fce094dcc NIFI-14096 Added Maven project directory property to PMD 
Ruleset path (#9587)
5fce094dcc is described below

commit 5fce094dcc118938a94787fb69d83977bf0e7f6d
Author: dan-s1 <[email protected]>
AuthorDate: Wed Dec 18 17:40:16 2024 -0500

    NIFI-14096 Added Maven project directory property to PMD Ruleset path 
(#9587)
    
    - Added Maven property to allow for resolving location of pmd-ruleset.xml 
even when running contrib-check in an individual NAR directory and not from the 
root directory
    
    Signed-off-by: David Handermann <[email protected]>
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index f012dab411..b2aaf4cc87 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1002,7 +1002,7 @@
                     <linkXRef>false</linkXRef>
                     <targetJdk>${maven.compiler.release}</targetJdk>
                     <rulesets>
-                        <ruleset>pmd-ruleset.xml</ruleset>
+                        
<ruleset>${maven.multiModuleProjectDirectory}/pmd-ruleset.xml</ruleset>
                     </rulesets>
                 </configuration>
             </plugin>

Reply via email to