You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@apache.org> on 2017/11/26 19:13:01 UTC
[jira] [Commented] (MINVOKER-229) Add a property in
invoker.properties to check the failed mojo
[ https://issues.apache.org/jira/browse/MINVOKER-229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266143#comment-16266143 ]
Robert Scholte commented on MINVOKER-229:
-----------------------------------------
The difference between success or failure is based on the System.exit(code).
There are no more details available, so I can't think of an explicit solution here.
The best practice is to use a post-script to verify the filesystem or the logfile.
MINVOKER-157 is an attempt to warn users that they should verify that this test failed for the right reason.
> Add a property in invoker.properties to check the failed mojo
> -------------------------------------------------------------
>
> Key: MINVOKER-229
> URL: https://issues.apache.org/jira/browse/MINVOKER-229
> Project: Maven Invoker Plugin
> Issue Type: Bug
> Reporter: Romain Manni-Bucau
>
> using invoker.buildResult = failure we can check a plugin failed but there is no property to also check which mojo failed.
> Issue is you can pass a test where the build failed for another reason than the expected one.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)