[ 
https://issues.apache.org/jira/browse/MNG-7897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17904492#comment-17904492
 ] 

Jörg Hohwiller edited comment on MNG-7897 at 12/10/24 1:25 PM:
---------------------------------------------------------------

I found this feature here:

[https://maven.apache.org/ref/4.0.0-rc-1/maven-model-builder/#model-interpolation]

So I tested it with maven 4.0.0-rc-1 and it is not working:
{code:java}
[WARNING] 'profiles.profile[maven3].activation.file.missing' Failed to 
interpolate profile activation property ${project.rootDirectory}/pom.xml: {code}
Does not make any difference if I use {{${rootDirectory}}} instead.

Will you consider to reopen or do I need to create a new bug issue?


was (Author: hohwille):
I found this feature here:

[https://maven.apache.org/ref/4.0.0-rc-1/maven-model-builder/#model-interpolation]

So I tested it with maven 4.0.0-rc-1 and it is not working:
{code:java}
[WARNING] 'profiles.profile[maven3].activation.file.missing' Failed to 
interpolate profile activation property ${project.rootDirectory}/pom.xml: {code}
Will you consider to reopen or do I need to create a new bug issue?

> Support ${project.rootDirectory} in file profile activation
> -----------------------------------------------------------
>
>                 Key: MNG-7897
>                 URL: https://issues.apache.org/jira/browse/MNG-7897
>             Project: Maven
>          Issue Type: Improvement
>            Reporter: Slawomir Jaranowski
>            Assignee: Slawomir Jaranowski
>            Priority: Major
>             Fix For: 4.0.0-beta-4, 4.0.0
>
>
> In current code we have support for short properties: {{rootDirectory}} to be 
> consistence we should use {{project.rootDirectory}}
> Property {{project.rootDirectory}} was introduced in MNG-7038, as we in alpha 
> release we can change it.



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

Reply via email to