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]

Reply via email to