----邮件原件-----
发件人: Cody Zhang [mailto:[EMAIL PROTECTED]
发送时间: 2008年3月17日 10:51
收件人: Maven Users List
主题: 答复: cobertura integration-test

Paul,Thank your reply!
I expect to get report when prject.war in jetty runtime.So I must
generate war then put it to jetty。

-----邮件原件-----
发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
代表 Paul Benedict
发送时间: 2008年3月17日 10:42
收件人: Maven Users List
主题: Re: cobertura integration-test

It is a well known limitation of Cobertura that it cannot perform
reporting on a *separate* integration testing phase.  You can search
the web on this part. All it can do report on classes ran in the
testing phase.

Paul

2008/3/16 Cody Zhang <[EMAIL PROTECTED]>:

> Dear All,
>
>         I want to get cobertura report at integration-test.But the
> goal(
> cobertura:instrument) run tiwce!
>
> My pom:
>
>
>
>
>
> <plugin>
>
>                            <groupId>org.apache.maven.plugins</groupId>
>
>                            <artifactId>maven-site-plugin</artifactId>
>
>                            <version>2.0-beta-5</version>
>
>                            <configuration>
>
>
> <outputEncoding>UTF-8</outputEncoding>
>
>                            </configuration>
>
>                            <executions>
>
>                                     <execution>
>
>                                               <id>generate-site</id>
>
>
> <phase>pre-integration-test</phase>
>
>                                               <goals>
>
>
> <goal>site</goal>
>
>                                               </goals>
>
>                                     </execution>
>
>                                     <execution>
>
>                                               <id>deploy-site</id>
>
>
> <phase>integration-test</phase>
>
>                                               <goals>
>
>
> <goal>deploy</goal>
>
>                                               </goals>
>
>                                     </execution>
>
>                            </executions>
>
>                   </plugin>
>
>
>
>
>
> <reporting>
>
>         <plugins>
>
>                   <plugin>
>
>                            <groupId>org.codehaus.mojo</groupId>
>
>
> <artifactId>cobertura-maven-plugin</artifactId>
>
>                   </plugin>
>
>         </plugins>
>
> </reporting>
>
>
>
>
>
>         <dependencies>
>
>         <dependency>
>
>                   <groupId>net.sourceforge.cobertura</groupId>
>
>                   <artifactId>cobertura</artifactId>
>
>                   <version>1.9</version>
>
>         </dependency>
>
> </dependencies>
>
>
>
> My commond:
>
>         Mvn integration-test
>
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to