Hi Mark, even if this is somewhat a corner case (while overriding everything in b, you can override the attribute also), it is strange...
The more immediate check is to run "mvn help:effective-pom" on b to check that child.site.url.inherit.append.path is configured: I still don't understand why, but it is not. I can reproduce the issue in an inheritance unit test (no-append-urls in maven-model-builder), but still need to investigate why it does not work as intended by ModelMerger.mergeSite(...): you can easily check by removing "name" field in b, you'll see that merge for other fields does not work I'll investigate later, it's late here now :) Regards, Hervé Le lundi 5 novembre 2018, 13:19:43 CET Mark Raynsford a écrit : > On 2018-11-04T15:05:19 +0000 > > Mark Raynsford <org.apache.maven.u...@io7m.com> wrote: > > On 2018-11-04T15:34:11 +0100 > > > > Hervé BOUTEMY <herve.bout...@free.fr> wrote: > > > you can build https://github.com/apache/maven/tree/MNG-6059 with quick > > > build instruction at the end of README > > > > Thanks. I've built 523db580468bc2b9d8420470bb24f5f688220701 and it > > seems to be working for all but the > > project/distributionManagement/site/@child.site.url.inherit.append.path > > element. > > Here's a more isolated example: > > https://github.com/io7m/mng-6059-examples/tree/develop/abc > > Note that the jar in the 'c' module has the following fields: > > Manifest-Version: 1.0 > Archiver-Version: Plexus Archiver > Created-By: Apache Maven 3.6.1-SNAPSHOT > Built-By: rm > Build-Jdk: 11 > Field-SCM: https://github.com/io7m/mng-6059-examples > Field-Site: https://www.io7m.com/software/mng-6059-examples/com.io7m.c > Field-URL: http://www.io7m.com/ > > The Field-SCM and Field-URL attributes have the automatic appending > correctly disabled, but the Field-Site attribute still has the module > appended despite the fact that the site element in > distributionManagement has child.site.url.inherit.append.path="false". --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org