You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/09/03 13:37:00 UTC

[jira] [Comment Edited] (SUREFIRE-1944) Fix Usage page for maven-surefire-plugin

    [ https://issues.apache.org/jira/browse/SUREFIRE-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409505#comment-17409505 ] 

Konrad Windszus edited comment on SUREFIRE-1944 at 9/3/21, 1:36 PM:
--------------------------------------------------------------------

It is unclear to me what is supposed to happen if multiple goals are used within one execution. Which phase is used then for the execution if no explicit one is configured? Are both goals executed in the same plugin execution or are those implicitly two execution just sharing a common configuration. Both https://maven.apache.org/pom.html#Plugins could and https://maven.apache.org/guides/mini/guide-configuring-plugins.html#Using_the_executions_Tag don't really give answers here.


was (Author: kwin):
It is unclear to me what is supposed to happen if multiple goals are used within one execution. Which phase is used then for the execution? Are both goals executed in the same plugin execution or are those implicitly two execution just sharing a common configuration. Both https://maven.apache.org/pom.html#Plugins could and https://maven.apache.org/guides/mini/guide-configuring-plugins.html#Using_the_executions_Tag don't really give answers here.

> Fix Usage page for maven-surefire-plugin
> ----------------------------------------
>
>                 Key: SUREFIRE-1944
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1944
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: documentation
>    Affects Versions: 3.0.0-M5
>            Reporter: Konrad Windszus
>            Priority: Major
>
> According to https://maven.apache.org/surefire/maven-failsafe-plugin/usage.html both goals "integration-test" and "verify" can be added to the same execution. This will never make the build fail though and also according to [~khmarbaise] answer in https://stackoverflow.com/a/16798160 you need two different executions. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)