You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@archiva.apache.org by Wendy Smoak <ws...@gmail.com> on 2007/10/14 17:41:53 UTC

Trouble generating Archiva reference docs

When I try 'mvn site' from archiva/trunk (not from archiva-site),
Cobertura complains about a missing cobertura.ser file in
archiva-signature-consumers module, presumably because it has no
source code.

The Cobertura plugin should probably handle that situation better, but
as far as I can tell there's nothing useful in that module.  There's a
package structure, but no code or resources.  Do we need it?

My goal is to publish all the reports and such under
archiva/ref/$version.   In particular I'd like to get the UMLGraph
plugin configured to generate UML diagrams as part of the Javadoc. [1]

(I see that javadoc and xref are published under archiva/1.0, but I'm
not sure how that was done. )

... and it just happened again, this time in archiva-applet, which we *do* need:
[ERROR] Error: data file
/Users/wsmoak/svn/maven/archiva/archiva-web/archiva-applet/cobertura.ser
does not exist

I'm just going to comment out the Cobertura plugin and move on.

[1] Example from the Tiles site
http://tiles.apache.org/framework/apidocs/org/apache/tiles/context/package-summary.html

-- 
Wendy

Re: Trouble generating Archiva reference docs

Posted by Wendy Smoak <ws...@gmail.com>.
On 10/14/07, Brett Porter <br...@apache.org> wrote:

> Yeah, I've noticed the cobertura plugin no longer works on there
> properly too - it had before (including on the applet). I was using
> exclusions on classes to "skip" modules. Commenting it out for now is
> fine.

Thanks.  I tried the workaround (no luck, see
http://jira.codehaus.org/browse/MCOBERTURA-75).

I don't really want to leave it commented out, I'd like to see both
the code coverage and the complexity numbers. :(

Maybe I can lift the implementation of 'skip' from one of the other plugins...

-- 
Wendy

Re: Trouble generating Archiva reference docs

Posted by Brett Porter <br...@apache.org>.
Yeah, I've noticed the cobertura plugin no longer works on there  
properly too - it had before (including on the applet). I was using  
exclusions on classes to "skip" modules. Commenting it out for now is  
fine.

On 14/10/2007, at 11:41 PM, Wendy Smoak wrote:

> When I try 'mvn site' from archiva/trunk (not from archiva-site),
> Cobertura complains about a missing cobertura.ser file in
> archiva-signature-consumers module, presumably because it has no
> source code.
>
> The Cobertura plugin should probably handle that situation better, but
> as far as I can tell there's nothing useful in that module.  There's a
> package structure, but no code or resources.  Do we need it?
>
> My goal is to publish all the reports and such under
> archiva/ref/$version.   In particular I'd like to get the UMLGraph
> plugin configured to generate UML diagrams as part of the Javadoc. [1]
>
> (I see that javadoc and xref are published under archiva/1.0, but I'm
> not sure how that was done. )
>
> ... and it just happened again, this time in archiva-applet, which  
> we *do* need:
> [ERROR] Error: data file
> /Users/wsmoak/svn/maven/archiva/archiva-web/archiva-applet/ 
> cobertura.ser
> does not exist
>
> I'm just going to comment out the Cobertura plugin and move on.
>
> [1] Example from the Tiles site
> http://tiles.apache.org/framework/apidocs/org/apache/tiles/context/ 
> package-summary.html
>
> -- 
> Wendy

--
Brett Porter - brett@apache.org
Blog: http://www.devzuz.org/blogs/bporter/