In my pom.xml, already added the surfire plugin in the reporting section.
But I didnt get any html report in my surefire-reports folder or javadoc
folder. My pom.xml is as shown below.


  <modelVersion>4.0.0</modelVersion>
  <groupId>citistreet.id.util</groupId>
  <artifactId>cs-util</artifactId>
  <packaging>jar</packaging>
  <version>1.0</version>
  <name>Maven Quick Start Archetype</name>
  <url>http://maven.apache.org</url>
  <build>
      <directory>classes</directory>
      <outputDirectory>classes</outputDirectory>
      <finalName>${artifactId}-${version}</finalName>
      <sourceDirectory>src</sourceDirectory>
   <testSourceDirectory>test</testSourceDirectory>
      <plugins>
        <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
       <source>1.5</source>
    <target>1.5</target>
        </configuration>
        </plugin>
          <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
            <forkMode>pertest</forkMode>
            <testFailureIgnore>true</testFailureIgnore>
          </configuration>
      </plugin>
      </plugins>
   </build>
   <dependencies>
             <dependency>
         <groupId>commons-logging</groupId>
         <artifactId>commons-logging</artifactId>
         <version>1.0</version>
       </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.0</version>
      <scope>test</scope>
    </dependency>
<dependency>
  <groupId>jaxen</groupId>
  <artifactId>jaxen</artifactId>
  <version>1.0-FCS</version>
  </dependency>
  <dependency>
  <groupId>saxpath</groupId>
  <artifactId>saxpath</artifactId>
  <version>1.0-FCS</version>
  </dependency>
     </dependencies>
   <reporting>
       <plugins>
              <plugin>
           <groupId>citistreet.id.util</groupId>
           <artifactId>cs-util</artifactId>
         </plugin>
   <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
      </plugin>
       </plugins>
    <outputDirectory>target/site</outputDirectory>
     </reporting>
<reports>
   <report>maven-junit-report-plugin</report>
 </reports>
</project>


Please help me....

Thanks & Regards
  Gopal






----- Original Message -----
From: "Boris Lenzinger" <[EMAIL PROTECTED]>
To: "Maven Users List" <[email protected]>
Sent: Friday, March 24, 2006 3:55 PM
Subject: Re: how to generate html test reports with maven-surefire-plugin


> You don't find the html files or you don't see them in the site ?
>
> I had the problem that the reports were not visible in the site but the
> html report was in the folder.
>
> My section for the reporting looks like:
>
> <reporting>
>   <plugins>
>     <plugin>
>       <groupId>org.codehaus.mojo</groupId>
>       <artifactId>surefire-report-maven-plugin</artifactId>
>     </plugin>
> <!-- other plugins -->
>   </plugins>
> </reporting>
>
> Venkatagopalaraju a écrit :
> > Dear Maven Users,
> >
> >      I am using maven-surefire-plugin in my pom.xml. When I am trying to
generate test reports in the form of html, it is generating in Plain Text
and Xml format. Could you please let me know, what I need to do for
generating html reports?
> >
> >
> > Thanks & Regards
> >       Gopal
> >
> >
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to