Please ignore what I said below, clearly it shows that I need to go to sleep asap. ^_^


What is it that you want to do? Output your System.out and System.err into the generated file also ? (similar to one of your posted link)


Edwin Punzalan wrote:

Please see surefire documentation, especially http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#useFile

Default value is true so its not using the console... try setting it to false.


Hope that helps,


^_^

Wim Deblauwe wrote:
Hi,

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 this mailinglist[1], but no answers so
far. Could somebody please answer this?

regards,

Wim
[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


---------------------------------------------------------------------
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]

Reply via email to