You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by loic bourgeois <lo...@sgss.socgen.com> on 2018/01/09 09:45:23 UTC
[POM.xml][SKIP] - logical test
Hello,
In my pom.xml I want to skip some steps. The skip run fine but I would like
to skip sometime with a test between two conditions like: <skip> contition1
& condition2 </skip> or <skip> contition1 || condition2 </skip>
Is it possible ? If yes how (there is a specific syntaxe).
Regards,
--
Sent from: http://maven.40175.n5.nabble.com/Maven-Users-f40176.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [POM.xml][SKIP] - logical test
Posted by Jeff MAURY <je...@jeffmaury.com>.
You have to deal with properties to do that or a groovy script that will
see to props
ᐧ
On Tue, Jan 9, 2018 at 10:45 AM, loic bourgeois <
loic.bourgeois@sgss.socgen.com> wrote:
> Hello,
>
> In my pom.xml I want to skip some steps. The skip run fine but I would like
> to skip sometime with a test between two conditions like: <skip> contition1
> & condition2 </skip> or <skip> contition1 || condition2 </skip>
>
> Is it possible ? If yes how (there is a specific syntaxe).
>
> Regards,
>
>
>
> --
> Sent from: http://maven.40175.n5.nabble.com/Maven-Users-f40176.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Jeff MAURY
"Legacy code" often differs from its suggested alternative by actually
working and scaling.
- Bjarne Stroustrup
http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury