This page is no longer maintained — Please continue to the home page at www.scala-lang.org

mvn test to console

3 replies
Naftoli Gugenheim
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.

Is there a way to get the output from mvn test in the console rather than having to open the reports file?

Joshua.Suereth
Joined: 2008-09-02,
User offline. Last seen 32 weeks 5 days ago.
Re: mvn test to console
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html

See the 'useFile' option.


You can then

<plugin>
  <artifactId>maven-surefire-plugin</artifactId>
  <configuration>
    <useFile>false</useFile>
  </configuration>
</plugin>


Not sure if there's a better option.

- Josh

On Sun, Feb 21, 2010 at 1:59 PM, Naftoli Gugenheim <naftoligug@gmail.com> wrote:
Is there a way to get the output from mvn test in the console rather than having to open the reports file?

david.bernard
Joined: 2009-01-08,
User offline. Last seen 1 year 27 weeks ago.
Re: mvn test to console

or similar

false

Ci server like hudson need files. So use a profile with the right
value for hudson and Co.

/davidB

On Mon, Feb 22, 2010 at 03:20, Josh Suereth wrote:
> http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html
>
> See the 'useFile' option.
>
>
> You can then
>
>
>   maven-surefire-plugin
>  
>     false
>  
>
>
>
> Not sure if there's a better option.
>
> - Josh
>
> On Sun, Feb 21, 2010 at 1:59 PM, Naftoli Gugenheim
> wrote:
>>
>> Is there a way to get the output from mvn test in the console rather than
>> having to open the reports file?
>
>

david.bernard
Joined: 2009-01-08,
User offline. Last seen 1 year 27 weeks ago.
Re: mvn test to console

Or if it's to use from IDE/editor I suggest to append
-Dsurefire.useFile=false to the command line "template" used to run
maven.

/davidB

On Mon, Feb 22, 2010 at 09:22, David Bernard wrote:
> or similar
>
>
>  false
>
>
> Ci server like hudson need files. So use a profile with the right
> value for hudson and Co.
>
> /davidB
>
> On Mon, Feb 22, 2010 at 03:20, Josh Suereth wrote:
>> http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html
>>
>> See the 'useFile' option.
>>
>>
>> You can then
>>
>>
>>   maven-surefire-plugin
>>  
>>     false
>>  
>>
>>
>>
>> Not sure if there's a better option.
>>
>> - Josh
>>
>> On Sun, Feb 21, 2010 at 1:59 PM, Naftoli Gugenheim
>> wrote:
>>>
>>> Is there a way to get the output from mvn test in the console rather than
>>> having to open the reports file?
>>
>>
>

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland