You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by ChunFeng <ch...@domolo.com> on 2014/11/28 08:12:51 UTC

How to skip some child projects maven test intentionally ?

How to skip some child projects maven test intentionally ?


I am now building my coding development environment , of course , I do not need some sub projects , such as : Network Brocade VCS,  Midokura Midonet etc .


When I run command : mvn install -P developer,systemvm ,  maven list all sub child projects of cloudstack , especially for Plugin projects , I want just "SKIP" maven test them for time cost reason.


Can I just skip those maven test by assign some command after :  mvn install -P developer,systemvm  ( such as -skip:midonet ) ?




------------------


Regards,


ChunFeng

Re: How to skip some child projects maven test intentionally ?

Posted by Yitao Jiang <wi...@gmail.com>.
Sorry about typo, it's -D skipTests wich skip all tests


---
Thanks,
Yitao(依涛 姜)
jiangyt.github.io

On Fri, Nov 28, 2014 at 3:32 PM, Yitao Jiang <wi...@gmail.com> wrote:

> Try  -D skiTests​
>
>
> ---
> Thanks,
> Yitao(依涛 姜)
> jiangyt.github.io
>
> On Fri, Nov 28, 2014 at 3:12 PM, ChunFeng <ch...@domolo.com> wrote:
>
>> How to skip some child projects maven test intentionally ?
>>
>>
>> I am now building my coding development environment , of course , I do
>> not need some sub projects , such as : Network Brocade VCS,  Midokura
>> Midonet etc .
>>
>>
>> When I run command : mvn install -P developer,systemvm ,  maven list all
>> sub child projects of cloudstack , especially for Plugin projects , I want
>> just "SKIP" maven test them for time cost reason.
>>
>>
>> Can I just skip those maven test by assign some command after :  mvn
>> install -P developer,systemvm  ( such as -skip:midonet ) ?
>>
>>
>>
>>
>> ------------------
>>
>>
>> Regards,
>>
>>
>> ChunFeng
>
>
>

Re: How to skip some child projects maven test intentionally ?

Posted by Yitao Jiang <wi...@gmail.com>.
Try  -D skiTests​


---
Thanks,
Yitao(依涛 姜)
jiangyt.github.io

On Fri, Nov 28, 2014 at 3:12 PM, ChunFeng <ch...@domolo.com> wrote:

> How to skip some child projects maven test intentionally ?
>
>
> I am now building my coding development environment , of course , I do not
> need some sub projects , such as : Network Brocade VCS,  Midokura Midonet
> etc .
>
>
> When I run command : mvn install -P developer,systemvm ,  maven list all
> sub child projects of cloudstack , especially for Plugin projects , I want
> just "SKIP" maven test them for time cost reason.
>
>
> Can I just skip those maven test by assign some command after :  mvn
> install -P developer,systemvm  ( such as -skip:midonet ) ?
>
>
>
>
> ------------------
>
>
> Regards,
>
>
> ChunFeng