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

Hudson commented on MNG-5871:
-----------------------------

Build failed in Jenkins: Maven TLP » maven-studies » maven-metrics #4

See 
https://builds.apache.org/job/maven-box/job/maven-studies/job/maven-metrics/4/

> make url inheritance algorithm more visible
> -------------------------------------------
>
>                 Key: MNG-5871
>                 URL: https://issues.apache.org/jira/browse/MNG-5871
>             Project: Maven
>          Issue Type: Improvement
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.3.3
>            Reporter: Herve Boutemy
>            Assignee: Herve Boutemy
>            Priority: Major
>             Fix For: 3.3.9
>
>
> currently, default urls calculated for child from parent values are often 
> discussed
> but their implementation is no easy to find: it's a mix between
> - DefaultInheritanceAssembler.getChildPathAdjustment(, which calculates path 
> adjustment
> - MavenModelBuilder.appendPath, that calculates the child url: in general, 
> parent url is used, but if childpathadjustment is set, this is the algorithm 
> to extrapolate child from parent
> IMHO, the test on childpathadjustement is a hack; in fact, we should use 
> method overriding: default method just returns arent, but 
> DefaultInheritanceAssembler.InheritanceModelMerger should override it with 
> the extrapolation algorithm
> this would make the code a lot more clear and help for future enhancements



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to