I am getting this error in a multiproject. I have a child module with no source 
code
and hence it fails. I dont want to instrument the submodule. Is there
a way to do it?

INFO - [INFO] [clover:instrumentInternal]
ERROR - Clover Version 1.3.13, built on September 04 2006
ERROR - loaded from: 
/home/tomcat/.m2/repository/com/cenqua/clover/clover/1.3.13/clover-1.3.13.jar
ERROR - Server License registered to TSYS Prepaid
ERROR - 
ERROR -   *** ERROR: No source files specified
ERROR - 
ERROR -   USAGE: com.cenqua.clover.CloverInstr [OPTIONS] PARAMS [FILES...]

I have the following defined in my parent pom  and am calling 
clover:instrument goal cause it is not automatically called in 
pre site. 

 <build>
       <plugins>
   <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-clover-plugin</artifactId>
    <version>2.4</version>
           <configuration>
               <licenseLocation>${env.CLOVER_LIC}</licenseLocation>
             </configuration>
    <executions>
     <execution>
      <phase>pre-site</phase>
      <goals>
       <goal>instrument</goal>
      </goals>
     </execution>
    </executions>
   </plugin>
  </plugins>
 </build>  

  <reporting>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>changelog-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-report-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-clover-plugin</artifactId>
   <version>2.4</version> 
      </plugin>
    </plugins>
  </reporting>

Any help is appreciated.

Thanks

Maya



       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.

Reply via email to