PMD not building PMD-CLI and PMD-Distribution packages #4735
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I am having the same problem, we are both working on a project that is using PMD. |
Beta Was this translation helpful? Give feedback.
-
This is currently a side effect of the cyclic dependency between PMD and PMD-Designer, see #4446 for details. The two modules pmd-cli and pmd-dist have been extracted into a separate maven profile "cli-dist", which should have been activeByDefault: Lines 1178 to 1187 in c5503c9 But it is obviously not always activeByDefault... Do you have any profiles activated in your settings.xml? That would explain it (sadly, a maven profile that is activeByDefault is only active until any other profile is activated explicitly). In order to build pmd-cli and pmd-dist, you need activate the profile explicitly:
I hope to fix this issue before the final 7.0.0 release. |
Beta Was this translation helpful? Give feedback.
This is currently a side effect of the cyclic dependency between PMD and PMD-Designer, see #4446 for details.
The two modules pmd-cli and pmd-dist have been extracted into a separate maven profile "cli-dist", which should have been activeByDefault:
pmd/pom.xml
Lines 1178 to 1187 in c5503c9
But it is obviously not always activeByDefault... Do you have any profiles activated in your settings.xml? That would explain it (sadly, a maven profile that is acti…