[jira] [Updated] (SUREFIRE-2203) In pom.xml, the configurationParameters configuration junit.platform.launcher.interceptors.enabled does not work

2024-06-26 Thread Michael Osipov (Jira)


 [ 
https://issues.apache.org/jira/browse/SUREFIRE-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated SUREFIRE-2203:
-
Fix Version/s: waiting-for-feedback

> In pom.xml, the configurationParameters configuration 
> junit.platform.launcher.interceptors.enabled does not work
> 
>
> Key: SUREFIRE-2203
> URL: https://issues.apache.org/jira/browse/SUREFIRE-2203
> Project: Maven Surefire
>  Issue Type: Bug
>  Components: JUnit 5.x support
>Reporter: Hengyunabc Chen
>Priority: Trivial
> Fix For: waiting-for-feedback
>
>
> In pom.xml, the configuration 
> {{junit.platform.launcher.interceptors.enabled}} does not work.
> The following configuration does not take effect:
> {code:java}
> 
> maven-surefire-plugin
> 3.1.2
> 
> 
> 
> junit.platform.launcher.interceptors.enabled=true
> 
> 
>  {code}
>  
> The following configuration can work:
> {code:java}
> 
> maven-surefire-plugin
> 3.1.2
> 
> 
> 
> true
> 
>  {code}
>  
> Or configuring it in the {{junit-platform.properties}} file will also work.
> Reference documentation:
>  * 
> [https://junit.org/junit5/docs/snapshot/user-guide/#launcher-api-launcher-interceptors-custom]
>  * 
> [https://junit.org/junit5/docs/snapshot/user-guide/#running-tests-build-maven-config-params]
>  * 
> [https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit-platform.html#configuration-parameters]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (SUREFIRE-2203) In pom.xml, the configurationParameters configuration junit.platform.launcher.interceptors.enabled does not work

2023-10-17 Thread Hengyunabc Chen (Jira)


 [ 
https://issues.apache.org/jira/browse/SUREFIRE-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hengyunabc Chen updated SUREFIRE-2203:
--
Description: 
In pom.xml, the configuration {{junit.platform.launcher.interceptors.enabled}} 
does not work.

The following configuration does not take effect:
{code:java}

maven-surefire-plugin
3.1.2



junit.platform.launcher.interceptors.enabled=true


 {code}

 
The following configuration can work:
{code:java}

maven-surefire-plugin
3.1.2



true

 {code}

 
Or configuring it in the {{junit-platform.properties}} file will also work.

Reference documentation:
 * 
[https://junit.org/junit5/docs/snapshot/user-guide/#launcher-api-launcher-interceptors-custom]
 * 
[https://junit.org/junit5/docs/snapshot/user-guide/#running-tests-build-maven-config-params]
 * 
[https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit-platform.html#configuration-parameters]

  was:
In pom.xml, the configuration {{junit.platform.launcher.interceptors.enabled}} 
does not work.

The following configuration does not take effect:

maven-surefire-plugin
3.1.2



junit.platform.launcher.interceptors.enabled=true



 
The following configuration can work:

maven-surefire-plugin
3.1.2



true


 
Or configuring it in the {{junit-platform.properties}} file will also work.

Reference documentation:
 * 
[https://junit.org/junit5/docs/snapshot/user-guide/#launcher-api-launcher-interceptors-custom]
 * 
[https://junit.org/junit5/docs/snapshot/user-guide/#running-tests-build-maven-config-params]
 * 
[https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit-platform.html#configuration-parameters]


> In pom.xml, the configurationParameters configuration 
> junit.platform.launcher.interceptors.enabled does not work
> 
>
> Key: SUREFIRE-2203
> URL: https://issues.apache.org/jira/browse/SUREFIRE-2203
> Project: Maven Surefire
>  Issue Type: Bug
>  Components: JUnit 5.x support
>Reporter: Hengyunabc Chen
>Priority: Trivial
>
> In pom.xml, the configuration 
> {{junit.platform.launcher.interceptors.enabled}} does not work.
> The following configuration does not take effect:
> {code:java}
> 
> maven-surefire-plugin
> 3.1.2
> 
> 
> 
> junit.platform.launcher.interceptors.enabled=true
> 
> 
>  {code}
>  
> The following configuration can work:
> {code:java}
> 
> maven-surefire-plugin
> 3.1.2
> 
> 
> 
> true
> 
>  {code}
>  
> Or configuring it in the {{junit-platform.properties}} file will also work.
> Reference documentation:
>  * 
> [https://junit.org/junit5/docs/snapshot/user-guide/#launcher-api-launcher-interceptors-custom]
>  * 
> [https://junit.org/junit5/docs/snapshot/user-guide/#running-tests-build-maven-config-params]
>  * 
> [https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit-platform.html#configuration-parameters]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)