Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-8135

Profile activation based on OS properties is no longer case insensitive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.9.7
    • 3.9.8, 4.0.0-beta-4, 4.0.0
    • Profiles
    • None

    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, arch or version has capital letters, it won't activate the profile.

      For example:

      <activation>
          <os>
              <name>Mac OS X</name>
              <arch>aarch64</arch>
          </os>
      </activation> 

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              liulijia Lijia Liu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: