[ 
https://issues.apache.org/jira/browse/MNG-8135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated MNG-8135:
---------------------------------
    Description: 
This BUG is introduced by MNG-5726. Prior that change the os name, arch and 
version comparison was always case-insensitive. Afterwards it needs to match 
the lower-case variants.

When OS name has capital letters, it can not activate the profile.

For example:
{code:java}
<activation>
    <os>
        <name>Mac OS X</name>
        <arch>aarch64</arch>
    </os>
</activation> {code}

  was:
This BUG is introduced by MNG-5726.

When OS name has capital letters, it can not activate the profile.

For example:
{code:java}
<activation>
    <os>
        <name>Mac OS X</name>
        <arch>aarch64</arch>
    </os>
</activation> {code}


> Activate profile by capital OS name fail
> ----------------------------------------
>
>                 Key: MNG-8135
>                 URL: https://issues.apache.org/jira/browse/MNG-8135
>             Project: Maven
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 3.9.7
>            Reporter: Lijia Liu
>            Priority: Major
>
> This BUG is introduced by MNG-5726. Prior that change the os name, arch and 
> version comparison was always case-insensitive. Afterwards it needs to match 
> the lower-case variants.
> When OS name has capital letters, it can not activate the profile.
> For example:
> {code:java}
> <activation>
>     <os>
>         <name>Mac OS X</name>
>         <arch>aarch64</arch>
>     </os>
> </activation> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to