maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michał Sobkiewicz (JIRA) <>
Subject [jira] [Created] (MNGSITE-234) Reversed name, reversed value
Date Fri, 08 May 2015 16:02:00 GMT
Michał Sobkiewicz created MNGSITE-234:

             Summary: Reversed name, reversed value
                 Key: MNGSITE-234
             Project: Maven Project Web Site
          Issue Type: Documentation
            Reporter: Michał Sobkiewicz
            Priority: Trivial

I was able to google how to activate profile when property is NOT PRESENT.
However, I was unable to find any example on how to activate profile when property is NOT
EQUAL to some value.
It would be great, if both possibilities were documented here:

Here's my use case:

It seems, It works since maven 3.0 or so (I checked commit history).
Documentation can make that feature to look more "stable".

PS. Here are the sources:;a=blob;f=maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/;hb=HEAD#l64;a=blob;f=maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/;hb=HEAD#l88

This message was sent by Atlassian JIRA

View raw message