Skip to content

PMD not building PMD-CLI and PMD-Distribution packages #4735

Answered by adangel
NathanMacDiarmid asked this question in Q&A
Discussion options

You must be logged in to vote

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

<profile>
<id>cli-dist</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>pmd-cli</module>
<module>pmd-dist</module>
</modules>
</profile>

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…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@juanitarodeloo
Comment options

Answer selected by adangel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants