[
https://issues.apache.org/jira/browse/MNG-8286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet updated MNG-8286:
---------------------------------
Description:
GitHub Pull Request: https://github.com/apache/maven/pull/1771
This adds a profile activation expression to the 4.1.0 model:
{code}
<profile>
<activation>
<condition>inrange(${maven.version}, '[4,)')</condition>
</activation>
</profile>
{code}
Other examples:
{code}
${os.name} == 'windows' && ${os.arch} != 'amd64' && inrange(${os.version},
'[99,)')
exists('${project.rootDirectory}/someFile.txt')
inrange(${java.version}, '[1.8,)')
{code}
was:GitHub Pull Request: https://github.com/apache/maven/pull/1771
> Add a condition profile based on a simple expressions
> -----------------------------------------------------
>
> Key: MNG-8286
> URL: https://issues.apache.org/jira/browse/MNG-8286
> Project: Maven
> Issue Type: New Feature
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Priority: Major
> Fix For: 4.0.0-beta-5
>
>
> GitHub Pull Request: https://github.com/apache/maven/pull/1771
> This adds a profile activation expression to the 4.1.0 model:
> {code}
> <profile>
> <activation>
> <condition>inrange(${maven.version}, '[4,)')</condition>
> </activation>
> </profile>
> {code}
> Other examples:
> {code}
> ${os.name} == 'windows' && ${os.arch} != 'amd64' && inrange(${os.version},
> '[99,)')
> exists('${project.rootDirectory}/someFile.txt')
> inrange(${java.version}, '[1.8,)')
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)