You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Ryan C. Payne" <rp...@bullittsystems.com> on 2006/05/11 19:20:36 UTC

maven-clover-plugin 2.1 site:site troubles

I have spent all morning today trying to get the latest clover plugin to
work. I am able to run the clover goals from the command line and have no
problems there. For the life of me, I cannot get the clover reports to be
generated when I build the site. I have followed the instructions on the
maven site for adding an execution to the pom, but it just doesn't work.

<build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-clover-plugin</artifactId>
          <version>2.1</version>
          <configuration>
            <targetPercentage>85%</targetPercentage>
           
<licenseLocation>http://10.10.220.12/clover/clover.license</licenseLocation>
          </configuration>
          <executions>
            <execution>
              <phase>pre-site</phase>
              <goals>
                <goal>instrument</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>

Am I missing something stupid? It's driving me insane... 

   Thanks,

    Ryan
--
View this message in context: http://www.nabble.com/maven-clover-plugin-2.1-site%3Asite-troubles-t1602437.html#a4344956
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: maven-clover-plugin 2.1 site:site troubles

Posted by Vincent Massol <vm...@pivolis.com>.
Hi Ryan,

What you have below is in a <pluginManagement> section. You may need to
activate your plugin in the <build> section of your POM.

In any case, try putting what you have in <pluginManagement> in the
<build><plugins> section of the POM for which you're generating the site.

Hope it helps,
-Vincent

> -----Original Message-----
> From: Ryan C. Payne [mailto:rpayne@bullittsystems.com]
> Sent: jeudi 11 mai 2006 19:21
> To: users@maven.apache.org
> Subject: maven-clover-plugin 2.1 site:site troubles
> 
> 
> I have spent all morning today trying to get the latest clover plugin to
> work. I am able to run the clover goals from the command line and have no
> problems there. For the life of me, I cannot get the clover reports to be
> generated when I build the site. I have followed the instructions on the
> maven site for adding an execution to the pom, but it just doesn't work.
> 
> <build>
>     <pluginManagement>
>       <plugins>
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-clover-plugin</artifactId>
>           <version>2.1</version>
>           <configuration>
>             <targetPercentage>85%</targetPercentage>
> 
> <licenseLocation>http://10.10.220.12/clover/clover.license</licenseLocatio
> n>
>           </configuration>
>           <executions>
>             <execution>
>               <phase>pre-site</phase>
>               <goals>
>                 <goal>instrument</goal>
>               </goals>
>             </execution>
>           </executions>
>         </plugin>
>       </plugins>
>     </pluginManagement>
>   </build>
> 
> Am I missing something stupid? It's driving me insane...
> 
>    Thanks,
> 
>     Ryan
> --
> View this message in context: http://www.nabble.com/maven-clover-plugin-
> 2.1-site%3Asite-troubles-t1602437.html#a4344956
> Sent from the Maven - Users forum at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


	

	
		
___________________________________________________________________________ 
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services pr�f�r�s : v�rifiez vos nouveaux mails, lancez vos recherches et suivez l'actualit� en temps r�el. 
Rendez-vous sur http://fr.yahoo.com/set

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org