Sorry about that crazy URL, I think that's a network security service my 
employer just signed up with.

> -----Original Message-----
> From: Justin Georgeson [mailto:jgeorge...@lgc.com]
> Sent: Friday, November 06, 2015 9:34 AM
> To: users@maven.apache.org
> Subject: [EXTERNAL] profile activation with multiple conditions
> 
> I have a profile defined in my parent POM which I'm trying to activate like 
> this
> 
>             <activation>
>                 <property>
>                     <name>jarsigner.keystore.scm.url</name>
>                 </property>
>                 <file>
>                     <missing>${keystore.dir}</missing>
>                 </file>
>             </activation>
> 
> The goal is that when run with -Djarsigner.keystore.scm.url the keystore will 
> be
> checked out from SCM, but I don't want it to do that for every module in a
> multi-module build. I thought that activation was switched from OR to AND in
> 3.2.2[1] but I'm using 3.2.5 and I'm seeing this profile as active when the
> property is set even though the path exists. I thought maybe it's because
> ${keystore.dir} is a folder instead of a file, so I tried it with a file but 
> that had no
> effect. I can work around it by having an extra checkout in the CI 
> configuration
> but I'd prefer to keep it self-contained in the 'mvn package' lifecycle of the
> build.
> 
> [1] https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__issues.apache.org_jira_browse_MNG-
> 2D4565&d=CwIFAg&c=PskvixtEUDK7wuWU-
> tIg6oKuGYBRbrMXk2FZvF0UfTo&r=dLxYM3PBhAqFnkH7uKz_OVZL1uyui4QoEm
> BCjCmEiTk&m=qSnekx007UIfFuC5Su7wwnAxDOG6yBCpBC5PyZFv2d0&s=ypg5E
> ApiZkSAidXlZV394CNaIG3j8JF9HTM0DLm3rRQ&e=


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to