<project>
   ...
      <build>
         ...
         <plugins>
            <plugin>
               <groupId>org.codehaus.mojo</groupId>
               <artifactId>surefire-report-maven-plugin</artifactId>
               <version>2.0-beta-1-SNAPSHOT</version>
            </plugin>
         </plugins>
         ...
      </build>
   ...
</project>

Ok I just add this to my pom.xml 

I am get an error

[INFO] -------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO] -------------------------------------------------------------------------
---
[INFO] Failed to resolve artifact.

GroupId: org.codehaus.mojo
ArtifactId: surefire-report-maven-plugin
Version: 2.0-beta-1-SNAPSHOT

Reason: Unable to download the artifact from any repository
  org.codehaus.mojo:surefire-report-maven-plugin:2.0-beta-1-SNAPSHOT:pom

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


> -----Original Message-----
> From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
> Sent: 28 October 2005 14:25
> To: Maven Users List
> Subject: Re: [m2] Unit test report in website
> 
> 
> You can generate test report with surefire-report plugin 
> available in Mojo project : 
> http://mojo.codehaus.org/surefire-report-maven-plugin/
> 
> Emmanuel
> 
> Wim Deblauwe a écrit :
> > Wow,
> > 
> > so you're saying that the released version of Maven 2, 
> can't generate a
> > report of the unit tests???
> > 
> > any idea when a next version will be released. This seems 
> like very basic
> > functionality.
> > 
> > regards,
> > 
> > Wim
> > 
> > 2005/10/28, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> > 
> >>
> >>
> >>
> >>
> >>Wim,
> >>
> >>AFAIK, the current release of the surefire plugin can't generate XML
> >>reports, which is required for the surefire report plugin to work
> >>correctly.
> >>Try to build the surefire plugin from SVN, and you would 
> probably get
> >>correct reports.
> >>
> >>Best Regards / Cordialement,
> >>Fabrice BELLINGARD
> >>DINQ/DSIN/INSI/EATE/IDVS/AIDV
> >>(+33) (01 61) 45 15 91 - [EMAIL PROTECTED]
> >>
> >>
> >>
> >>Wim Deblauwe
> >><[EMAIL PROTECTED]
> >>ail.com <http://ail.com>> Pour
> >>Maven Users List
> >>28/10/2005 13:12 <[email protected]>
> >>cc
> >>
> >>Veuillez Objet
> >>répondre à [m2] Unit test report in website
> >>Maven Users List
> >><[EMAIL PROTECTED]
> >>che.org <http://che.org>>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>Hi,
> >>
> >>I'm trying to add the results of my unit tests on the 
> generated webpage. I
> >>added the surefire-plugin to the reports section, and I get 
> a link the
> >>menu.
> >>However the webpage shows that no tests have run, but they do run:
> >>
> >>Results :
> >>[surefire] Tests run: 46, Failures: 0, Errors: 0
> >>
> >>
> >>any ideas?
> >>
> >>Wim
> >>
> >>
> >>
> >>------------------------------------------------------------
> ---------
> >>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]
> 
> 

==============================================================================
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==============================================================================


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

Reply via email to