You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Manish Shah <Ex...@tietoenator.com> on 2006/09/14 13:27:40 UTC

maven-surefire-plugin not redirecting test output

Hi there,

I'd like the maven-surefire-plugin to redirect all test console output
to file. I've added the following to my POM:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <version>2.3-SNAPSHOT</version>
    <configuration>
      <useFile>false</useFile>
      <redirectTestOutputToFile>true</redirectTestOutputToFile>
      <suiteXmlFiles>
        <suiteXmlFile>testng.xml</suiteXmlFile>
      </suiteXmlFiles>
    </configuration>
</plugin>

The correct version of the plugin is downloaded along with all its
dependencies, however the test output still appears in the console and
there is no output file generated. Any ideas what we're doing wrong?

Thanks,
Manish



This email is intended only for the use of the addressees named above and may be confidential or legally privileged. If you are not an addressee you must not read it and must not use any information contained in it, nor copy it, nor inform any person other than TietoEnator or the addressees of its existence or contents.  If you have received this email and are not a named addressee, please delete it and notify the TietoEnator UK Technical Services Team on 0113 390 0700.