"Bryant Harris" <[EMAIL PROTECTED]> writes: > Hi, > So I've gotten pretty far with Maven (to the point where I'm liking > it more and more). It's a slow slog, wading through articles and > documentation, but I'm starting to like it. I've got a few questions > on site generation.... > > 1. How do I specify the location of my license file for site > generation. I assume this is just a tag in my POM like most of the > other site related bits. >
There is a tag <licences> in the POM http://maven.apache.org/ref/current/maven-model/maven.html#class_license > 2. Can I supply HTML formatted text for my description text in my POM > that is used to form the about section of the website? It seems like > I can only use unformatted text. Maybe there's an alternate tag to an > external HTML snippet? > Did you try using <![CDATA[ ... ]]> section ? > 3. To include clover code coverage reports in my site generation, I > always need to run clover:instrument goal first. (I've already got > > <plugin> > <artifactId>maven-clover-plugin</artifactId> > </plugin> > > in my pom to include the report). Is there a way I can specify this > as an added task (still using ant terminology) for site generation so > I don't need to include the instrument goal whenever I want to create > my site? > Not sure of this issue but instrumentation and report generation are two different things: - when you run mvn site, it does compile,test or does anything that pertains to the "normal" (ie. default lifecycle). AFAIK, clover's reporting scheme follows standard convention and the usual thing it does is just read generated data from previous test runs and generate the report - if you still want your plugin to run as part of a site build, you could use the following syntax: <build> <plugins> <plugin> <artifactId>maven-clover-plugin</artifactId> <executions> <execution> <phase>site</phase> <goals> <goal>instrument</goal></goals> <configuration> HTH -- OQube < software engineering \ génie logiciel > Arnaud Bailly, Dr. \web> http://www.oqube.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
