Arghhhhhh
I found the answer : for one reason or another I always did "mvn
site:site" instead of "mvn site"
So silly me :(((
Anyway, thanks Tony for your answer
Tony Ambrozie a écrit :
David, this seems to be working for me:
<build>
.....
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clover-plugin</artifactId>
<version>2.3</version>
<configuration>
<targetPercentage>50%</targetPercentage>
</configuration>
<executions>
<execution>
<id>verify</id>
<phase>verify</phase>
<goals>
<goal>instrument</goal>
<goal>check</goal>
</goals>
</execution>
<execution>
<id>pre-site</id>
<phase>pre-site</phase>
<goals>
<goal>instrument</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
....
</build>
Tony
On 1/17/07, c_inconnu2 <[EMAIL PROTECTED]> wrote:
Hi,
I saw this question many times in the forum, but couldn't found an
answer. I followed the tutorial and got in my parent project pom :
<reporting>
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clover-plugin</artifactId>
</plugin>
...
</plugins>
</reporting>
<build>
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clover-plugin</artifactId>
<configuration>
<jdk>1.5</jdk>
<excludes>
<exclude>**/*AllTests.java</exclude>
<exclude>**/*Main.java</exclude>
<exclude>**/*Test.java</exclude>
</excludes>
</configuration>
<executions>
<execution>
<phase>pre-site</phase>
<goals>
<goal>instrument</goal>
</goals>
</execution>
</executions>
</plugin>
...
</plugins>
</build>
I always have :
[INFO] [site:site]
[WARNING] No Clover database found, skipping report generation
but if i use "clover:instrument clover:clover" that works...
is this plugin broken or what ? it's driving me crazy !!! Thanks
David
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]