Issue Details (XML | Word | Printable)

Key: MPDASHBOARD-29
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Nascif A. Abousalh-Neto
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Dashboard Plugin

Aggregators for Macker and Lint4J

Created: 29/Jun/05 10:52 AM   Updated: 30/Jun/05 02:20 PM
Return to search
Component/s: None
Affects Version/s: 1.9
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. File lint4jfiles.jelly (1 kB)
2. File lint4jviolations.jelly (1 kB)
3. File mackerviolations.jelly (1 kB)

Environment: Tested with Dashboard 1.7 on Maven 1.0.2, may need adjustments for the latest version.


 Description  « Hide

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


Vincent Massol added a comment - 29/Jun/05 11:31 AM

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


Nascif A. Abousalh-Neto added a comment - 29/Jun/05 12:20 PM

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.


Vincent Massol added a comment - 30/Jun/05 02:20 PM

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).