[ 
https://issues.apache.org/jira/browse/NIFI-14096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17906867#comment-17906867
 ] 

ASF subversion and git services commented on NIFI-14096:
--------------------------------------------------------

Commit 5fce094dcc118938a94787fb69d83977bf0e7f6d in nifi's branch 
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=5fce094dcc ]

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]>

> contrib-check cannot be run in an individual NAR bundle directory
> -----------------------------------------------------------------
>
>                 Key: NIFI-14096
>                 URL: https://issues.apache.org/jira/browse/NIFI-14096
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> It seems since the introduction of PMD in NIFI-14073, the contrib-check 
> cannot be run in an individual NAR bundle directory e.g. 
> nifi-standard-bundle. When doing so, one gets the following:
> {code:java}
> ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-pmd-plugin:3.26.0:pmd (pmd) on project 
> nifi-standard-processors: Failed to determine whether report can be 
> generated: Could not find resource 'pmd-ruleset.xml'.{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to