Maven 1.x Dashboard Plugin

Aggregators for Macker and Lint4J

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.9
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Tested with Dashboard 1.7 on Maven 1.0.2, may need adjustments for the latest version.
  • Number of attachments :
    3

Description

As the title says, see the attachment for aggregators for Macker (http://maven-plugins.sourceforge.net/maven-macker-plugin/index.html) and Lint4J (http://www.jutils.com/maven-plugin.html).

Add the attachments to the plugin-resources directory.
Then add to dashboard project.properties:

  1. Lint4J: number of files
    maven.dashboard.aggregator.lint4jfiles.script = ${maven.dashboard.aggregators.dir}/lint4jfiles.jelly
    maven.dashboard.aggregator.lint4jfiles.artifact = ${maven.build.dir}/lint4j-raw-report.xml
    maven.dashboard.aggregator.lint4jfiles.label = Lint4J Files Total
    maven.dashboard.aggregator.lint4jfiles.goal = maven-lint4j-plugin:report
    maven.dashboard.aggregator.lint4jfiles.description = Total number of files with Lint4j violations
    maven.dashboard.aggregator.lint4jfiles.report = lint4j-report.html

    # Lint4J: number of violations
    maven.dashboard.aggregator.lint4jviolations.script = ${maven.dashboard.aggregators.dir}/lint4jviolations.jelly
    maven.dashboard.aggregator.lint4jviolations.artifact = ${maven.build.dir}/lint4j-raw-report.xml
    maven.dashboard.aggregator.lint4jviolations.label = Lint4J Total of Violations
    maven.dashboard.aggregator.lint4jviolations.goal = maven-lint4j-plugin:report
    maven.dashboard.aggregator.lint4jviolations.description = Number of Lint4j violations
    maven.dashboard.aggregator.lint4jviolations.report = lint4j-report.html

    # Macker: number of violations
    maven.dashboard.aggregator.mackerviolations.script = ${maven.dashboard.aggregators.dir}/mackerviolations.jelly
    maven.dashboard.aggregator.mackerviolations.artifact = ${maven.build.dir}/macker/macker-report.xml
    maven.dashboard.aggregator.mackerviolations.label = Macker Violations
    maven.dashboard.aggregator.mackerviolations.goal = maven-macker-plugin:report
    maven.dashboard.aggregator.mackerviolations.description = Number of Macker violations
    maven.dashboard.aggregator.mackerviolations.report = macker-report.html
  1. lint4jfiles.jelly
    29/Jun/05 10:52 AM
    1 kB
    Nascif A. Abousalh-Neto
  2. lint4jviolations.jelly
    29/Jun/05 10:52 AM
    1 kB
    Nascif A. Abousalh-Neto
  3. mackerviolations.jelly
    29/Jun/05 10:52 AM
    1 kB
    Nascif A. Abousalh-Neto

Activity

Hide
Vincent Massol added a comment -

Hi Nascif,

That's great but we also need some testcases to prove that they work. Do you think you could update the existing tests in src/plugin-test?

Thanks a lot

Show
Vincent Massol added a comment - Hi Nascif, That's great but we also need some testcases to prove that they work. Do you think you could update the existing tests in src/plugin-test? Thanks a lot
Hide
Nascif A. Abousalh-Neto added a comment -

Any easy way I can dowload the whole tree to run the tests?
The only download I found was for the plugin (just jelly files) and even though I can read the testcases using the ViewCVS, last time I tried I was not able to check out using SVN. I think it is my company firewall but I am not sure.

Show
Nascif A. Abousalh-Neto added a comment - Any easy way I can dowload the whole tree to run the tests? The only download I found was for the plugin (just jelly files) and even though I can read the testcases using the ViewCVS, last time I tried I was not able to check out using SVN. I think it is my company firewall but I am not sure.
Hide
Vincent Massol added a comment -

hmm... SVN is using HTTP... so using the following URL should work very fine: http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/dashboard/

Alternatively you could use cvsgrab to get the sources from viewcvs (http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/dashboard/).

But the best way is really to simply checkout using a SVN client like TortoiseSVN if you're on windows (there's a config tab for proxy settings).

Show
Vincent Massol added a comment - hmm... SVN is using HTTP... so using the following URL should work very fine: http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/dashboard/ Alternatively you could use cvsgrab to get the sources from viewcvs (http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/dashboard/). But the best way is really to simply checkout using a SVN client like TortoiseSVN if you're on windows (there's a config tab for proxy settings).

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: