Is parsing the maven log the only way to get return status on tests?

 

Example:  when a compile fails, maven returns 0.

Therefore I assume when a test fails maven also returns zero.

It seems that grepping logs for "ERROR" and like strings is necessary to
find out whether a test passed or failed in maven.

 

I've been reading the docs at apache.maven.org for a month and have yet
to see the equivalent of ant's "failonerror" or any method of passing
out a return value.

 

Thank you,

--John

 

John Napier
Sr. Software Engineer

Infrastructure Group  
BEA Systems, Inc.
www.bea.com <blocked::blocked::http://www.bea.com/> 

 

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

Reply via email to