How to get a failure file/excludeFromFailureFile argument from classpath for maven-pmd-plugin? -


the maven-pmd-plugin allows ruleset files local filesystem (with absolute path only, makes unflexible use) , classpath practically means multi-module project rulesets put separate project build maven parent or aggregator it's available siblings.

how achieve failures files specified in excludefromfailurefile parameter of plugin configuration in pom? putting them next rulesets recognized doesn't work, pmd maven plugin article on multi-module projects doesn't contain information (why?) , google appears redirect rulesets on classpath issues systematically.

loading classpath allows able specify resource once in form of dependency , able build @ every level of multi- , or hierarchical project structure - consider following example:

aggregator: - pom.xml - parent:   - pom.xml (maven-pmd-plugin here)   - module1:     - pom.xml   - module2:     - pom.xml 

where can validate , build aggregator (which run on ci service), parent , single modules 1 specification. using basedir , parent.basedir doesn't allow that.

it's possible put failure file in git or other scm submodule, checkout file during each project root 1 wants able build (parent project , eventual aggregators of parent) , synchronize them manually @ every change. that's not classpath resolution , complicated.

i'm using maven-pmd-plugin 3.8.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -