I'm having no luck with this.  Running 
maven junit-report 
fails because it's not a valid goal.  If I don't set the
<unitTestSourceDirectory> then I won't get a Unit test report, even if I
had set the maven.test.reportsDirectory.  If I do include the
<unitTestSourceDirectory> in project.xml then Maven will try to compile
and run the tests.  I would like to be able to use the output from the
tests that were run from Ant to generate the unit tests report for the
site.  Is this possible?


On Fri, 2004-01-09 at 00:52, Matthieu RIOU wrote:
> I think the JUnit Report plug-in should do it. Just run :
>  
> maven junit-report
>  
> This will only work if your test output files are generated in the
> standard directory, if not you'll have to override the
> maven.test.reportsDirectory property.
> 
> James Norman <[EMAIL PROTECTED]> wrote:
> Hey All,
> I'm fairly new to Maven so be patient with me if this question has
> already been answered. We have been using Ant to build our software for
> some time now and are quite pleased with it. I'm now using Maven to
> generate project information and take advantage of the canned reports. 
> I especially like the junit-report plugin. My question is if I can take
> advantage of this report without running the Junit tests through Maven. 
> The tests are run through a target in Ant which is called from a shell
> script in our nightly build. I would prefer not to have to change
> anything in the Ant scripts as we have finally standardized on
> something. Let me know if there is any way to generate this report from
> the TEST-***.txt files.
> 
> Thanks,
> James
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en franÃais !
> Testez le nouveau Yahoo! Mail


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

Reply via email to