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

Maven 3.9.0 resolves properties in file profile activation incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.0
    • 3.9.1
    • Profiles
    • None

    Description

      With the provided files when you run:

      mvn help:active-profiles

      The profile example1 should be activated and that is the case if you use maven version 3.8.7 or 4.0.0-alpha4. But in version 3.9.0 instead the profile example2 is activated, for some reason ${example2.file.path} is resolved as "example2.file.path=test2.txt" instead of "test2.txt".

       

      Attachments

        1. example2.file.path=test2.txt
          0.0 kB
          Kalle Lindqvist
        2. pom.xml
          0.9 kB
          Kalle Lindqvist
        3. test.txt
          0.0 kB
          Kalle Lindqvist

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              kalihms Kalle Lindqvist
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: