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

Arūnas Vasmanas updated SUREFIRE-1180:
--------------------------------------
    Description: 
Does not run test using -Dtest example:
mvn verify -Dtest=**/*AppIT.java -DfailIfNoTests=false -Pe2e-test

if enable in pom.xml <include>${test}</include> line so test would run.
It seems that -Dtest property does not overrides <include>

Works on 2.11 version.

Attached pom.xml and sanbox example.


  was:
Does not run test using -Dtest example:
mvn verify -Dtest=**/*AppIT.java -DfailIfNoTests=false -Pe2e-test

if enable in pom.xml <include>${test}</include> line so test would run.
It seems that -Dtest property does not overrides <include>

Works on 2.11 version.

Attached pom.xml example.



> Does not overrides include/exclude using -Dtest property
> --------------------------------------------------------
>
>                 Key: SUREFIRE-1180
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1180
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.12, 2.12.1, 2.12.2, 2.12.3, 2.12.4, 2.13, 2.14, 
> 2.14.1, 2.15, 2.16, 2.17, 2.18, 2.18.1
>            Reporter: Arūnas Vasmanas
>         Attachments: pom.xml, sandbox.zip
>
>
> Does not run test using -Dtest example:
> mvn verify -Dtest=**/*AppIT.java -DfailIfNoTests=false -Pe2e-test
> if enable in pom.xml <include>${test}</include> line so test would run.
> It seems that -Dtest property does not overrides <include>
> Works on 2.11 version.
> Attached pom.xml and sanbox example.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to