maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Tran" <dant...@gmail.com>
Subject Re: Ignore errors from exec-maven-plugin
Date Thu, 27 Nov 2008 12:27:47 GMT
it seems to reasonable to support ignoreOnError. Pleaes file an Jira
with a patch which will get approve quicker if there are interests

On Thu, Nov 27, 2008 at 3:07 AM, Eric Rotick <pc.greenus@gmail.com> wrote:
> It's quite simple really.
>
> You create a shell script which always returns an exit status of zero and
> then call the binary application within that.
>
> On Wed, Nov 26, 2008 at 10:49 AM, Eric Rotick <pc.greenus@gmail.com> wrote:
>
>> Hi All,
>>
>> I'm having a problem getting the exec-maven-plugin to support my
>> requirements and I hoped the list might be able to help.
>>
>> I need to run a binary application to tickle some hardware into life before
>> I run a test. This application exits with various status codes to indicate
>> certain aspects of the hardware. Unfortunately, as they are not always zero,
>> they are getting interpreted by the exec:exec plugin as an error which stops
>> the run.
>>
>> Is there a way to tell the plugin to ignore errors in a similar way to the
>> onError directive of the sql plugin?
>>
>> Thanks.
>>
>>
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message