in AbstractCloverageMojo.java, 

@Parameter(defaultValue = "${basedir}/target/coverage")
    protected File reportOutputDirectory;

should be replaced by 

@Parameter(defaultValue = "${project.reporting.outputDirectory}/coverage")
    protected File reportOutputDirectory;

to have the content generated inside the site

and
private static final String OUTPUT_NAME = "indexx";
should be 
private static final String OUTPUT_NAME = "coverage/indexx";

to make the menu link point to the generated content.

Regards,

Hervé

Le jeudi 4 décembre 2014 08:48:25 animator a écrit :
> Here is my mojo:
> https://github.com/lgadawski/cloverage-maven-plugin/blob/master/src/main/jav
> a/com/gadawski/maven/plugins/cloverage/goals/HtmlMojo.java
> 
> which, as U can see, extends following class:
> https://github.com/lgadawski/cloverage-maven-plugin/blob/master/src/main/jav
> a/com/gadawski/maven/plugins/cloverage/goals/AbstractCloverageMojo.java
> 
> While invoking #executeReport(...) it calls external clojure library that
> performs instrumentation on test project and produces html report in
> '${project}/coverage/index.html'. l would like link those externally
> generated report to my maven site reports section..
> 
> Here is test project: https://github.com/lgadawski/test-polyglot-project
> 
> 
> 
> 
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Integrate-Maven-Site-reporting-with-maven-> 
> plugin-that-externally-create-report-html-page-tp5817068p5817929.html Sent
> from the Maven Developers mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to