You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2023/03/11 19:31:00 UTC
[jira] [Updated] (MNG-7726) Maven 3.9.0 resolves properties in file profile activation incorrectly
[ https://issues.apache.org/jira/browse/MNG-7726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tamas Cservenak updated MNG-7726:
---------------------------------
Fix Version/s: 3.9.1-candidate
> 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
> Priority: Minor
> Fix For: 3.9.1-candidate
>
> 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)