[ 
http://jira.codehaus.org/browse/SUREFIRE-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105777
 ] 

Carlos Sanchez commented on SUREFIRE-182:
-----------------------------------------

Your cmdline is wrong, redirectTestOutputToFile can be used in the 
configuration section of the surefire plugin in the pom, but the expression in 
the cmdline is maven.test.redirectTestOutputToFile (the expression value in the 
doc)

{code}mvn -Dmaven.test.redirectTestOutputToFile=true test{code}

> console output of tests should be catched in text files like in Maven 1
> -----------------------------------------------------------------------
>
>                 Key: SUREFIRE-182
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-182
>             Project: Maven Surefire
>          Issue Type: Improvement
>    Affects Versions: 2.0 (2.2 plugin)
>            Reporter: Wim Deblauwe
>             Fix For: 2.3.1
>
>
> we are currently converting from M1 to M2, and we see that the output of our 
> tests is not redirected to a file anymore.
> I found several questions for this on the mailinglist[1], but no answers so 
> far. 
> [1]
> http://www.nabble.com/-M2-Surefire%3A-add-Console-output-to-the-reports--tf1937138s177.html#a5307553
> http://www.nabble.com/maven-surefire-plugin-not-redirecting-test-output-tf2271529s177.html#a6305553
> http://www.nabble.com/M1-test-plugin-vs-M2-surefire-plugin-tf1712068s177.html#a4648726

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to