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

David Handermann commented on NIFI-14096:
-----------------------------------------

Thanks for sharing the command.

Instead of running the command in the bundle target, you can run the following 
command from the root to target that specific module:

{noformat}
./mvnw install -P contrib-check -pl :nifi-standard-processors
{noformat}

> 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
>            Priority: Major
>
> 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