Maven 1.x JDepend Plugin

Allow exclusion of certain class files

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.6
  • Component/s: None
  • Labels:
    None
  • Environment:
    - Maven 1.0.2
    - Default JDepend plugin from that Maven version
  • Number of attachments :
    0

Description

When using Clover with JDepend, I see all clover generated classes also in the JDepend report. I would like to be to exclude those. Preferably, there should be a property like:

maven.jdepend.excludes=*/CLOVER.

Any matching class would be excluded from the JDepend report

Activity

Hide
Joshua Davis added a comment -

I noticed this as well. Clover breaks this plugin by making lots of strange class files.

Show
Joshua Davis added a comment - I noticed this as well. Clover breaks this plugin by making lots of strange class files.
Hide
Wim Deblauwe added a comment -

You can work around it by putting a jdepend.properties file in your home directory with this contents:

ignore.clover=com_cenqua_clover
analyzeInnerClasses=false

It's not very ideal (every developer has to put this into his/her home directory), but it's the only solution I see currently.

Show
Wim Deblauwe added a comment - You can work around it by putting a jdepend.properties file in your home directory with this contents: ignore.clover=com_cenqua_clover analyzeInnerClasses=false It's not very ideal (every developer has to put this into his/her home directory), but it's the only solution I see currently.
Hide
Lukas Theussl added a comment -

Fixed with MPJDEPEND-2.

Show
Lukas Theussl added a comment - Fixed with MPJDEPEND-2.

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: