[
https://issues.apache.org/jira/browse/NIFI-14096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17906845#comment-17906845
]
Daniel Stieglitz commented on NIFI-14096:
-----------------------------------------
[~exceptionfactory] I may have a solution without that. It seems when adding to
line 3005 in the parent pom the following
{code:java}
<ruleset>${maven.multiModuleProjectDirectory}/pmd-ruleset.xml</ruleset>{code}
I get the desired effect. I can run contrib-check as in the past. I discovered
${maven.multiModuleProjectDirectory} when reading the following Stackoverflow
[post|https://stackoverflow.com/questions/3084629/finding-the-root-directory-of-a-multi-module-maven-reactor-project]
Please let me know if you would like me to make this changes to the parent
pom.xml file.
> 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)