Re: AW: Integrating Junit Testreport into the maven site

2006-02-06 Thread David Sag

Hi Karsten,

As well as declaring it in the build
section of your pom you also need to add it to the reporting.

In your reporting section of your pom.xml
add the following:


  org.codehouse.mojo
  surefire-report-maven-plugin


and that will generate the surefire
report for your maven2 generated site.

Kind regards,
Dave Sag 




  

"Pleines, Karsten (I B 3)" <[EMAIL PROTECTED]>
wrote on 06-02-2006 07:52:12:

> Hi,
> Thank you for the answer. I think you missunderstood my question or

> I forulated them erroneous. 
> Now I have the Junit reports inside the "target\surefire-reports"
as
> Text and XML Files but I don't know how to include them into the 
> maven generated website? I want to deploy the site for a better 
> controle of my project. 
> Can you help me to solve this problem?
> 
> Tank you for your help
> Karsten
> 
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]

> Gesendet: Freitag, 3. Februar 2006 15:07
> An: Maven Users List
> Betreff: Re: Integrating Junit Testreport into the maven site
> 
> 
> Pleines, Karsten (I B 3) wrote:
> 
> >Hi,
> >I've started to generate a maven site and it succeeds. The problem
is, 
> >I don't know how to integrate the Junit report into the site.
Can 
> >somebody help me?
> >
> >Thank you
> >Karsten
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >  
> >
> 
> if you get a numberformatexception build version 2.0-beta-2 from the

> sources in subversion codehaus
> 
> 
> all config settings are the defaults
> except true
because if you 
> do not set this to true, you well never see failed tests in the site
> report because you wont have a site (junit failure makes site generation
stop)
> 
> 
> ...
>     
> 
>       
>          
>             org.codehaus.mojo
>             surefire-report-maven-plugin
>             
>                
>                ${basedir}
>                
>                
>                   ${project.build.outputDirectory}
>                
>                
>                
>                
>                
>                
>                
>                   ${localRepository}
>                
>                
>                
>                   ${plugin.artifacts}
>                
>                
>                true
>                
>                brief
>                
>                
>                   ${project.build.directory}/surefire-reports
>                
>                
>                ${maven.test.skip}
>                
>                
>                
>                ${test}
>                
>                
>                   ${project.build.testOutputDirectory}
>                
>                
>                true
>                
>                true
>             
>          
> 
> 
> 
> 
> -- 
> 
> 
> met vriendelijke groeten
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


Re: AW: Integrating Junit Testreport into the maven site

2006-02-06 Thread Allan Ramirez

Hi there,

Try this 
http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIintegratestatic%28x%29htmlintoaMavensite%3F


-allan

Pleines, Karsten (I B 3) wrote:


Hi,
Thank you for the answer. I think you missunderstood my question or I forulated them erroneous. 
Now I have the Junit reports inside the "target\surefire-reports" as Text and XML Files but I don't know how to include them into the maven generated website? I want to deploy the site for a better controle of my project. 
Can you help me to solve this problem?


Tank you for your help
Karsten

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 3. Februar 2006 15:07

An: Maven Users List
Betreff: Re: Integrating Junit Testreport into the maven site


Pleines, Karsten (I B 3) wrote:

 


Hi,
I've started to generate a maven site and it succeeds. The problem is, 
I don't know how to integrate the Junit report into the site. Can 
somebody help me?


Thank you
Karsten

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



   



if you get a numberformatexception build version 2.0-beta-2 from the 
sources in subversion codehaus



all config settings are the defaults
except true because if you do not set 
this to true, you well never see failed tests in the site report because you wont have a site 
(junit failure makes site generation stop)


...
   



org.codehaus.mojo

surefire-report-maven-plugin


${basedir}


${project.build.outputDirectory}







${localRepository}



${plugin.artifacts}


true

brief



${project.build.directory}/surefire-reports


${maven.test.skip}




${test}



${project.build.testOutputDirectory}



true

true






 



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

AW: Integrating Junit Testreport into the maven site

2006-02-05 Thread Pleines, Karsten \(I B 3\)
Hi,
Thank you for the answer. I think you missunderstood my question or I forulated 
them erroneous. 
Now I have the Junit reports inside the "target\surefire-reports" as Text and 
XML Files but I don't know how to include them into the maven generated 
website? I want to deploy the site for a better controle of my project. 
Can you help me to solve this problem?

Tank you for your help
Karsten

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 3. Februar 2006 15:07
An: Maven Users List
Betreff: Re: Integrating Junit Testreport into the maven site


Pleines, Karsten (I B 3) wrote:

>Hi,
>I've started to generate a maven site and it succeeds. The problem is, 
>I don't know how to integrate the Junit report into the site. Can 
>somebody help me?
>
>Thank you
>Karsten
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>

if you get a numberformatexception build version 2.0-beta-2 from the 
sources in subversion codehaus


all config settings are the defaults
except true because if you do not set 
this to true, you well never see failed tests in the site report because you 
wont have a site (junit failure makes site generation stop)


...




org.codehaus.mojo

surefire-report-maven-plugin


${basedir}


${project.build.outputDirectory}







${localRepository}



${plugin.artifacts}


true

brief



${project.build.directory}/surefire-reports


${maven.test.skip}




${test}



${project.build.testOutputDirectory}



true

true






-- 


met vriendelijke groeten




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