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

Guillaume Nodet commented on MNG-8075:
--------------------------------------

@slawekjaranowski I think this PR has been lost while working on the new model 
builder.
It does not seem to be supported in the new `DefaultModelValidator`:
https://github.com/apache/maven/blob/master/impl/maven-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java#L1343-L1346

> Allow project.baseUri in repository.url
> ---------------------------------------
>
>                 Key: MNG-8075
>                 URL: https://issues.apache.org/jira/browse/MNG-8075
>             Project: Maven
>          Issue Type: Improvement
>            Reporter: Slawomir Jaranowski
>            Assignee: Slawomir Jaranowski
>            Priority: Major
>             Fix For: 4.0.0-beta-3, 4.0.0
>
>
> Such we can use properties like {{{}$\{basedir{}}}}, 
> {{{}$\{project.basedir{}}}}, so we can add also {{${project.baseUri}}}
>  
> We cen use:
> {code:java}
> <repository>
>   <id>repo</id>
>   <url>${project.baseUri}/repo</url>
> </repository> {code}
> instead of:
> {code:java}
> <repository>
>   <id>repo</id>
>   <url>file://${project.basedir/repo</url>
> </repository> {code}



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

Reply via email to