On 23/10/2009, at 11:39 AM, Hilco Wijbenga wrote:
It needs to be under , in the section (not the
section, and not the section).
Here is a working example from the Effective Implementation book:
http://github.com/brettporter/centrepoint/blob/master/centrepoint/modules/pom.xml
Weird, th
2009/10/22 Brett Porter :
>
> On 23/10/2009, at 10:45 AM, Hilco Wijbenga wrote:
>
>> Yes, I know about this. :-) Here's what I tried and doesn't work:
>>
>> pmd-ruleset:
>> src/main/resources/rulesets/da.xml (full set of rules; this is what
>> Eclipse generates so I expect it to be okay)
>>
>> my-p
2009/10/22 Daniel Kulp :
> See:
> http://cxf.apache.org/connecting-maven-eclipse-checkstyle-and-pmd.html
> and
> http://cxf.apache.org/setting-up-eclipse.html
>
> CXF does this quite well.
>
> The "setup.eclipse" profile we have sets up the workspace with CXF code
> styles, import orders, compiler
See:
http://cxf.apache.org/connecting-maven-eclipse-checkstyle-and-pmd.html
and
http://cxf.apache.org/setting-up-eclipse.html
CXF does this quite well.
The "setup.eclipse" profile we have sets up the workspace with CXF code
styles, import orders, compiler warning levels, checkstyle rules, etc..
On 23/10/2009, at 10:45 AM, Hilco Wijbenga wrote:
Yes, I know about this. :-) Here's what I tried and doesn't work:
pmd-ruleset:
src/main/resources/rulesets/da.xml (full set of rules; this is what
Eclipse generates so I expect it to be okay)
my-project pom.xml (snippets only):
pmd-ruleset
> AFAICT, the Eclipse plugin is rather limited in what it supports. I
> have only been able to add an absolute path to a rule set.
Last I checked, the PMD plugins you mentioned are both open source. So
if this isn't currently possible, tweak the code and submit a patch.
;-)
Based on your comments
2009/10/22 Brett Porter :
> It does work as a plugin dependency, but I'm not sure about that for eclipse
> (though presumably if you have that resources project open, you can point it
> directly at the file).
AFAICT, the Eclipse plugin is rather limited in what it supports. I
have only been able t
It does work as a plugin dependency, but I'm not sure about that for
eclipse (though presumably if you have that resources project open,
you can point it directly at the file).
The example is the same as at the bottom of this page for Checkstyle:
http://maven.apache.org/plugins/maven-checkst
Hi all,
I'm trying to share the rule set definition for PMD between Maven and
Eclipse. I had hoped to create a separate Maven project which would
generate a JAR with the rule set I want to use. I had thought to add
that JAR as a dependency to maven-pmd-plugin (or as a regular
dependency) and refer