You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kalle Lindqvist (Jira)" <ji...@apache.org> on 2023/03/08 20:14:00 UTC

[jira] [Created] (MNG-7726) Maven 3.9.0 resolves properties in file profile activation incorrectly

Kalle Lindqvist created MNG-7726:
------------------------------------

             Summary: Maven 3.9.0 resolves properties in file profile activation incorrectly
                 Key: MNG-7726
                 URL: https://issues.apache.org/jira/browse/MNG-7726
             Project: Maven
          Issue Type: Bug
          Components: Profiles
    Affects Versions: 3.9.0
            Reporter: Kalle Lindqvist
         Attachments: example2.file.path=test2.txt, pom.xml, test.txt

With the provided files when you run:
{code:java}
mvn help:active-profiles{code}
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".

 



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