LukeKynaston opened a new issue, #11236:
URL: https://github.com/apache/maven/issues/11236

   ### New feature, improvement proposal
   
   Instead of 
   
   ```xml <profiles>
     <profile>
       <id>my-profile</id>
       <activation>
         <property>
           <name>env</name>
           <value>local</value>
         </property>
       </activation>
     </profile>
   </profiles>```
   
   We could have support for something like:
   
   ```xml <profiles>
     <profile>
       <id>my-profile</id>
       <activation>
         <property>
           <expression>${prop1} && !prop2 </expression>
         </property>
       </activation>
     </profile>
   </profiles>```
   
   where ${prop1} is defined in the project properties, and prop2 is defined as 
a system property passsed in on the CLI. 
   
   This would be a fairly simple change that would allow for more flexible and 
powerful profile activation.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to