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

Tibor Digana commented on SUREFIRE-1231:
----------------------------------------

btw, you should use {{-Dtest=UserTest}} with Surefire plugin.
On the other side Failsafe plugin is running classes {{*IT.java}}, but you have 
{{UserTest.java}} therefore the system property has another key 
{{-Dit.test=UserTest}}. Notice different properties with {{test}} and 
{{it.test}}. Hope this helps.

> Failsafe ignore argLine
> -----------------------
>
>                 Key: SUREFIRE-1231
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1231
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Failsafe Plugin
>            Reporter: Daneel Yaitskov
>
> I cannot use bootclasspath.
> There is link to demo project where the following command fails due
> bootclasspath is not affected, as expected.
> {noformat}
> mvn integration-test -Dtest=UserTest
> {noformat}
> https://github.com/yaitskov/big-table-kundera/tree/failsafe-cannot-override-boot-class-path
> I tried various configurations. In debugger I noticed that argLine is null.
> It works if change failsafe plugin with surefire or define surefire.  



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

Reply via email to