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

Christopher Tubbs commented on ACCUMULO-4351:
---------------------------------------------

As it turns out, this property is already set to false by default by the 
surefire and failsafe plugins. However, it effectively gets flipped to true 
when specific tests are run, and so must be explicitly set to false to override 
that behavior. Better yet, there exist 
{{-Dsurefire.failIfNoSpecifiedTests=false}} and 
{{-Dit.failIfNoSpecifiedTests=false}} which will achieve the desirable behavior.

> Set failIfNoSpecifiedTests to false by default
> ----------------------------------------------
>
>                 Key: ACCUMULO-4351
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4351
>             Project: Accumulo
>          Issue Type: Task
>          Components: build
>            Reporter: Christopher Tubbs
>            Assignee: Christopher Tubbs
>             Fix For: 1.6.6, 1.7.3, 1.8.0
>
>
> When running a single test, we often have to specify 
> {{-DfailIfNoTests=false}} because the specified tests don't exist in some 
> modules, but do exist in others.
> In order to better support running specific tests in our multi-module 
> project, we should just set the pom with this option by default.



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

Reply via email to