or another technique would be to overwrite every html file that is in a
sub-dir with a simple html saying that the source code is confidential...
that way your links will still work ;-)

2009/10/23 Edelson, Justin <justin.edel...@mtvstaff.com>

> Without an extensive amount of work, I suspect you could bind a custom
> execution of the clean plugin in the post-site phase to remove all the
> html files from target/site/cobertura EXCEPT for index.html,
> frame-packages.html, frame-summary.html, frame-sourcefiles.html, and
> help.html. This would lead to broken links. Not having broken links
> would likely involve modifying cobertura and/or the plugin, so I'd
> suggest at least trying the clean option and see how far that takes you.
>
> Justin
>
> -----Original Message-----
> From: Daniele Dellafiore [mailto:ilde...@gmail.com]
> Sent: Friday, October 23, 2009 10:04 AM
> To: Maven Users List
> Subject: [cobertura] do not publish source code
>
> Hi everyone.
>
> I want to publish code coverage for my project on a public site but some
> projects are not open source. How can I avoid cobertura to publish the
> source code for each class leaving all the coverage reports?
>
> Thanks..
>
> --
> Daniele Dellafiore
> http://ildella.net
> http://twitter.com/ildella
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to