[ 
https://issues.apache.org/jira/browse/MAHOUT-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792449#action_12792449
 ] 

Isabel Drost commented on MAHOUT-210:
-------------------------------------

Forgot to include what I changed to make it work:

Seems like the workspace directory on hudson is only accessible to users logged 
in to hudson. So I changed the job to stage the generated site to a publicly 
accessible directory and adjust the links accordingly. 

To get Clover to work I gave maven the path to the clover license on Hudson and 
issued report generation and aggregation before the site is generated.

The maven parameters used for building:

-Dmaven.clover.license=$PATH - path to the clover license file
clean install - to clean the target directories and start building and locally 
installing the artifacts
clover:instrument clover:aggregate  - generates the clover reports
site:site - generates the maven site report files and stores them under 
$module/target/site for review
site:stage -DstagingDirectory=/export/home/hudson/hudson/jobs/MahoutQM/site - 
stages the maven report files on a publicly readable directory


> Publish code quality reports through maven
> ------------------------------------------
>
>                 Key: MAHOUT-210
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-210
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Website
>    Affects Versions: 0.1, 0.2
>            Reporter: Isabel Drost
>            Assignee: Isabel Drost
>             Fix For: 0.3
>
>         Attachments: MAHOUT-210.patch
>
>
> We should use mvn site:site to generate code reports and publish them online 
> for users to review and developers to easily spot problems.
> First version that still needs checks adjusted to our needs is available 
> online at:
> http://people.apache.org/~isabel/mahout_site/mahout-core/project-reports.html
> Further discussion on-list at
> http://www.lucidimagination.com/search/document/a13aa5127b47fda3/publish_code_quality_reports_on_web_site##a13aa5127b47fda3

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to