[jira] [Updated] (MNG-5951) add an option to avoid path addition to inherited URLs
[ https://issues.apache.org/jira/browse/MNG-5951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hervé Boutemy updated MNG-5951: --- Description: What I am trying to achieve is the definition of a project.url in a parent pom in a way that all children inherit a url ending with {code:java} ${project.groupId}/${project.artifactId}/${project.version}/ {code} in order to be able to publish sites of all artifacts in all versions in parallel without having to redefine the url in every child pom. This is currently not working as expected in maven due to the default child urls calculation which leads to urls that add up parent urls like [http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/] The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic child url calculation (those are the artifactIds of all parent poms beneath our enterprise parent pom where the url is defined) and *is expexted to not be there at all*. The repeated artifactID at the end of the url is superfluous as well but tollerable. I expect maven-core to be changed so that I can turn on/off the automatic calculation of child URLs as an option which is by default on (current behaviour so nothing will change unless configured explicitly). See the discussion in MSITE-672. As this can not be done in the maven-site-plugin there needs to be a change in Maven itself (core), in Maven Model Builder, ie the way effective model is calculated, and more precisely in the inheritance step: [http://maven.apache.org/ref/current/maven-model-builder/]. h1. Implemented solution in Maven 3.6.0 (attribute names reworked in Maven 3.6.1, see MNG-6059): {code:xml} ... ... ... ... ... {code} was: What I am trying to achieve is the definition of a project.url in a parent pom in a way that all children inherit a url ending with {code:java} ${project.groupId}/${project.artifactId}/${project.version}/ {code} in order to be able to publish sites of all artifacts in all versions in parallel without having to redefine the url in every child pom. This is currently not working as expected in maven due to the default child urls calculation which leads to urls that add up parent urls like [http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/] The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic child url calculation (those are the artifactIds of all parent poms beneath our enterprise parent pom where the url is defined) and *is expexted to not be there at all*. The repeated artifactID at the end of the url is superfluous as well but tollerable. I expect maven-core to be changed so that I can turn on/off the automatic calculation of child URLs as an option which is by default on (current behaviour so nothing will change unless configured explicitly). See the discussion in MSITE-672. As this can not be done in the maven-site-plugin there needs to be a change in Maven itself (core), in Maven Model Builder, ie the way effective model is calculated, and more precisely in the inheritance step: [http://maven.apache.org/ref/current/maven-model-builder/]. h1. Implemented solution: {code:xml} ... ... ... ... ... {code} > add an option to avoid path addition to inherited URLs > -- > > Key: MNG-5951 > URL: https://issues.apache.org/jira/browse/MNG-5951 > Project: Maven > Issue Type: Improvement > Components: Inheritance and Interpolation >Affects Versions: 3.0.5, 3.1.1, 3.2.5, 3.3.9 >Reporter: Jörg Sesterhenn >Assignee: Hervé Boutemy >Priority: Major > Fix For: 3.6.0 > > Attachments: MNG-5951.zip > > > What I am trying to achieve is > the definition of a project.url in a parent pom > in a way that all children inherit a url ending with > {code:java} > ${project.groupId}/${project.artifactId}/${project.version}/ > {code} > in order to be able to publish sites of all artifacts in all versions in > parallel > without having to redefine the url in every child pom. > This is currently not working as expected in maven due to the default child > urls calculation which leads to urls that add up parent urls like > > [http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/] > The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic > child url calculation (those are the artifactIds of all parent poms beneath > our enterprise parent pom where the url
[jira] [Updated] (MNG-5951) add an option to avoid path addition to inherited URLs
[ https://issues.apache.org/jira/browse/MNG-5951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hervé Boutemy updated MNG-5951: --- Description: What I am trying to achieve is the definition of a project.url in a parent pom in a way that all children inherit a url ending with {code:java} ${project.groupId}/${project.artifactId}/${project.version}/ {code} in order to be able to publish sites of all artifacts in all versions in parallel without having to redefine the url in every child pom. This is currently not working as expected in maven due to the default child urls calculation which leads to urls that add up parent urls like [http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/] The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic child url calculation (those are the artifactIds of all parent poms beneath our enterprise parent pom where the url is defined) and *is expexted to not be there at all*. The repeated artifactID at the end of the url is superfluous as well but tollerable. I expect maven-core to be changed so that I can turn on/off the automatic calculation of child URLs as an option which is by default on (current behaviour so nothing will change unless configured explicitly). See the discussion in MSITE-672. As this can not be done in the maven-site-plugin there needs to be a change in Maven itself (core), in Maven Model Builder, ie the way effective model is calculated, and more precisely in the inheritance step: [http://maven.apache.org/ref/current/maven-model-builder/]. h1. Implemented solution: {code:xml} ... ... ... ... ... {code} was: What I am trying to achieve is the definition of a project.url in a parent pom in a way that all children inherit a url ending with {code} ${project.groupId}/${project.artifactId}/${project.version}/ {code} in order to be able to publish sites of all artifacts in all versions in parallel without having to redefine the url in every child pom. This is currently not working as expected in maven due to the default child urls calculation which leads to urls that add up parent urls like http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/ The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic child url calculation (those are the artifactIds of all parent poms beneath our enterprise parent pom where the url is defined) and *is expexted to not be there at all*. The repeated artifactID at the end of the url is superfluous as well but tollerable. I expect maven-core to be changed so that I can turn on/off the automatic calculation of child URLs as an option which is by default on (current behaviour so nothing will change unless configured explicitly). See the discussion in MSITE-672. As this can not be done in the maven-site-plugin there needs to be a change in Maven itself (core), in Maven Model Builder, ie the way effective model is calculated, and more precisely in the inheritance step: http://maven.apache.org/ref/current/maven-model-builder/. > add an option to avoid path addition to inherited URLs > -- > > Key: MNG-5951 > URL: https://issues.apache.org/jira/browse/MNG-5951 > Project: Maven > Issue Type: Improvement > Components: Inheritance and Interpolation >Affects Versions: 3.0.5, 3.1.1, 3.2.5, 3.3.9 >Reporter: Jörg Sesterhenn >Assignee: Hervé Boutemy >Priority: Major > Fix For: 3.6.0 > > Attachments: MNG-5951.zip > > > What I am trying to achieve is > the definition of a project.url in a parent pom > in a way that all children inherit a url ending with > {code:java} > ${project.groupId}/${project.artifactId}/${project.version}/ > {code} > in order to be able to publish sites of all artifacts in all versions in > parallel > without having to redefine the url in every child pom. > This is currently not working as expected in maven due to the default child > urls calculation which leads to urls that add up parent urls like > > [http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/] > The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic > child url calculation (those are the artifactIds of all parent poms beneath > our enterprise parent pom where the url is defined) and *is expexted to not > be there at all*. The repeated artifactID at the end of the url is > superfluous as well but tollerable. > I expect maven-core to be changed so that I
[jira] [Updated] (MNG-5951) add an option to avoid path addition to inherited URLs
[ https://issues.apache.org/jira/browse/MNG-5951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stephen Connolly updated MNG-5951: -- Fix Version/s: (was: 3.6.0-candidate) 3.6.x-candidate > add an option to avoid path addition to inherited URLs > -- > > Key: MNG-5951 > URL: https://issues.apache.org/jira/browse/MNG-5951 > Project: Maven > Issue Type: Improvement > Components: Inheritance and Interpolation >Affects Versions: 3.0.5, 3.1.1, 3.2.5, 3.3.9 >Reporter: Jörg Sesterhenn >Assignee: Hervé Boutemy >Priority: Major > Fix For: 3.6.x-candidate > > Attachments: MNG-5951.zip > > > What I am trying to achieve is > the definition of a project.url in a parent pom > in a way that all children inherit a url ending with > {code} > ${project.groupId}/${project.artifactId}/${project.version}/ > {code} > in order to be able to publish sites of all artifacts in all versions in > parallel > without having to redefine the url in every child pom. > This is currently not working as expected in maven due to the default child > urls calculation which leads to urls that add up parent urls like > http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/ > The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic > child url calculation (those are the artifactIds of all parent poms beneath > our enterprise parent pom where the url is defined) and *is expexted to not > be there at all*. The repeated artifactID at the end of the url is > superfluous as well but tollerable. > I expect maven-core to be changed so that I can turn on/off the automatic > calculation of child URLs as an option which is by default on (current > behaviour so nothing will change unless configured explicitly). > See the discussion in MSITE-672. > As this can not be done in the maven-site-plugin there needs to be a change > in Maven itself (core), in Maven Model Builder, ie the way effective model is > calculated, and more precisely in the inheritance step: > http://maven.apache.org/ref/current/maven-model-builder/. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (MNG-5951) add an option to avoid path addition to inherited URLs
[ https://issues.apache.org/jira/browse/MNG-5951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stephen Connolly updated MNG-5951: -- Fix Version/s: (was: needing-scrub-3.4.0-fallout) 3.5.0-candidate > add an option to avoid path addition to inherited URLs > -- > > Key: MNG-5951 > URL: https://issues.apache.org/jira/browse/MNG-5951 > Project: Maven > Issue Type: Improvement > Components: Inheritance and Interpolation >Affects Versions: 3.0.5, 3.1.1, 3.2.5, 3.3.9 >Reporter: Jörg Sesterhenn >Assignee: Hervé Boutemy > Fix For: 3.5.0-candidate > > Attachments: MNG-5951.zip > > > What I am trying to achieve is > the definition of a project.url in a parent pom > in a way that all children inherit a url ending with > {code} > ${project.groupId}/${project.artifactId}/${project.version}/ > {code} > in order to be able to publish sites of all artifacts in all versions in > parallel > without having to redefine the url in every child pom. > This is currently not working as expected in maven due to the default child > urls calculation which leads to urls that add up parent urls like > http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/ > The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic > child url calculation (those are the artifactIds of all parent poms beneath > our enterprise parent pom where the url is defined) and *is expexted to not > be there at all*. The repeated artifactID at the end of the url is > superfluous as well but tollerable. > I expect maven-core to be changed so that I can turn on/off the automatic > calculation of child URLs as an option which is by default on (current > behaviour so nothing will change unless configured explicitly). > See the discussion in MSITE-672. > As this can not be done in the maven-site-plugin there needs to be a change > in Maven itself (core), in Maven Model Builder, ie the way effective model is > calculated, and more precisely in the inheritance step: > http://maven.apache.org/ref/current/maven-model-builder/. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (MNG-5951) add an option to avoid path addition to inherited URLs
[ https://issues.apache.org/jira/browse/MNG-5951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hervé Boutemy updated MNG-5951: --- Fix Version/s: 3.4.0 > add an option to avoid path addition to inherited URLs > -- > > Key: MNG-5951 > URL: https://issues.apache.org/jira/browse/MNG-5951 > Project: Maven > Issue Type: Improvement > Components: Inheritance and Interpolation >Affects Versions: 3.0.5, 3.1.1, 3.2.5, 3.3.9 >Reporter: Jörg Sesterhenn > Fix For: waiting-for-feedback, 3.4.0 > > Attachments: MNG-5951.zip > > > What I am trying to achieve is > the definition of a project.url in a parent pom > in a way that all children inherit a url ending with > {code} > ${project.groupId}/${project.artifactId}/${project.version}/ > {code} > in order to be able to publish sites of all artifacts in all versions in > parallel > without having to redefine the url in every child pom. > This is currently not working as expected in maven due to the default child > urls calculation which leads to urls that add up parent urls like > http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/ > The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic > child url calculation (those are the artifactIds of all parent poms beneath > our enterprise parent pom where the url is defined) and *is expexted to not > be there at all*. The repeated artifactID at the end of the url is > superfluous as well but tollerable. > I expect maven-core to be changed so that I can turn on/off the automatic > calculation of child URLs as an option which is by default on (current > behaviour so nothing will change unless configured explicitly). > See the discussion in MSITE-672. > As this can not be done in the maven-site-plugin there needs to be a change > in Maven itself (core), in Maven Model Builder, ie the way effective model is > calculated, and more precisely in the inheritance step: > http://maven.apache.org/ref/current/maven-model-builder/. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (MNG-5951) add an option to avoid path addition to inherited URLs
[ https://issues.apache.org/jira/browse/MNG-5951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hervé Boutemy updated MNG-5951: --- Fix Version/s: waiting-for-feedback > add an option to avoid path addition to inherited URLs > -- > > Key: MNG-5951 > URL: https://issues.apache.org/jira/browse/MNG-5951 > Project: Maven > Issue Type: Improvement > Components: Inheritance and Interpolation >Affects Versions: 3.0.5, 3.1.1, 3.2.5, 3.3.9 >Reporter: Jörg Sesterhenn > Fix For: waiting-for-feedback, 3.4.0 > > Attachments: MNG-5951.zip > > > What I am trying to achieve is > the definition of a project.url in a parent pom > in a way that all children inherit a url ending with > {code} > ${project.groupId}/${project.artifactId}/${project.version}/ > {code} > in order to be able to publish sites of all artifacts in all versions in > parallel > without having to redefine the url in every child pom. > This is currently not working as expected in maven due to the default child > urls calculation which leads to urls that add up parent urls like > http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/ > The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic > child url calculation (those are the artifactIds of all parent poms beneath > our enterprise parent pom where the url is defined) and *is expexted to not > be there at all*. The repeated artifactID at the end of the url is > superfluous as well but tollerable. > I expect maven-core to be changed so that I can turn on/off the automatic > calculation of child URLs as an option which is by default on (current > behaviour so nothing will change unless configured explicitly). > See the discussion in MSITE-672. > As this can not be done in the maven-site-plugin there needs to be a change > in Maven itself (core), in Maven Model Builder, ie the way effective model is > calculated, and more precisely in the inheritance step: > http://maven.apache.org/ref/current/maven-model-builder/. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (MNG-5951) add an option to avoid path addition to inherited URLs
[ https://issues.apache.org/jira/browse/MNG-5951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hervé Boutemy updated MNG-5951: --- Attachment: MNG-5951.zip added unit test (just run {{mvn}}) to show the issue and limited solution by using properties (to reduce complexity of copy/paste) > add an option to avoid path addition to inherited URLs > -- > > Key: MNG-5951 > URL: https://issues.apache.org/jira/browse/MNG-5951 > Project: Maven > Issue Type: Improvement > Components: Inheritance and Interpolation >Affects Versions: 3.0.5, 3.1.1, 3.2.5, 3.3.9 >Reporter: Jörg Sesterhenn > Attachments: MNG-5951.zip > > > What I am trying to achieve is > the definition of a project.url in a parent pom > in a way that all children inherit a url ending with > {code} > ${project.groupId}/${project.artifactId}/${project.version}/ > {code} > in order to be able to publish sites of all artifacts in all versions in > parallel > without having to redefine the url in every child pom. > This is currently not working as expected in maven due to the default child > urls calculation which leads to urls that add up parent urls like > http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/ > The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic > child url calculation (those are the artifactIds of all parent poms beneath > our enterprise parent pom where the url is defined) and *is expexted to not > be there at all*. The repeated artifactID at the end of the url is > superfluous as well but tollerable. > I expect maven-core to be changed so that I can turn on/off the automatic > calculation of child URLs as an option which is by default on (current > behaviour so nothing will change unless configured explicitly). > See the discussion in MSITE-672. > As this can not be done in the maven-site-plugin there needs to be a change > in Maven itself (core), in Maven Model Builder, ie the way effective model is > calculated, and more precisely in the inheritance step: > http://maven.apache.org/ref/current/maven-model-builder/. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (MNG-5951) add an option to avoid path addition to inherited URLs
[ https://issues.apache.org/jira/browse/MNG-5951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hervé Boutemy updated MNG-5951: --- Description: What I am trying to achieve is the definition of a project.url in a parent pom in a way that all children inherit a url ending with {code} ${project.groupId}/${project.artifactId}/${project.version}/ {code} in order to be able to publish sites of all artifacts in all versions in parallel without having to redefine the url in every child pom. This is currently not working as expected in maven due to the default child urls calculation which leads to urls that add up parent urls like http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/ The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic child url calculation (those are the artifactIds of all parent poms beneath our enterprise parent pom where the url is defined) and *is expexted to not be there at all*. The repeated artifactID at the end of the url is superfluous as well but tollerable. I expect maven-core to be changed so that I can turn on/off the automatic calculation of child URLs as an option which is by default on (current behaviour so nothing will change unless configured explicitly). See the discussion in MSITE-672. As this can not be done in the maven-site-plugin there needs to be a change in Maven itself (core), in Maven Model Builder, ie the way effective model is calculated, and more precisely in the inheritance step: http://maven.apache.org/ref/current/maven-model-builder/. was: What I am trying to achieve is the definition of a project.url in a parent pom in a way that all children inherit a url ending with {code} ${project.groupId}/${project.artifactId}/${project.version}/ {code} in order to be able to publish sites of all artifacts in all versions in parallel without having to redefine the url in every child pom. This is currently not working as expected in maven due to the default child urls calculation which leads to urls that add up parent urls like http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/ The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic child url calculation (those are the artifactIds of all parent poms beneath our enterprise parent pom where the url is defined) and *is expexted to not be there at all*. The repeated artifactID at the end of the url is superfluous as well but tollerable. I expect maven-core to be changed so that I can turn on/off the automatic calculation of child URLs as an option which is by default on (current behaviour so nothing will change unless configured explicitly). See the discussion in MSITE-672. As this can not be done in the maven-site-plugin there needs to be a change in Maven Model Builder, ie the way effective model is calculated, and more precisely in the inheritance step: http://maven.apache.org/ref/current/maven-model-builder/. > add an option to avoid path addition to inherited URLs > -- > > Key: MNG-5951 > URL: https://issues.apache.org/jira/browse/MNG-5951 > Project: Maven > Issue Type: Improvement > Components: Inheritance and Interpolation >Affects Versions: 3.0.5, 3.1.1, 3.2.5, 3.3.9 >Reporter: Jörg Sesterhenn > > What I am trying to achieve is > the definition of a project.url in a parent pom > in a way that all children inherit a url ending with > {code} > ${project.groupId}/${project.artifactId}/${project.version}/ > {code} > in order to be able to publish sites of all artifacts in all versions in > parallel > without having to redefine the url in every child pom. > This is currently not working as expected in maven due to the default child > urls calculation which leads to urls that add up parent urls like > http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/ > The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic > child url calculation (those are the artifactIds of all parent poms beneath > our enterprise parent pom where the url is defined) and *is expexted to not > be there at all*. The repeated artifactID at the end of the url is > superfluous as well but tollerable. > I expect maven-core to be changed so that I can turn on/off the automatic > calculation of child URLs as an option which is by default on (current > behaviour so nothing will change unless configured explicitly). > See the discussion in MSITE-672. > As this can not be done in the maven-site-plugin there needs to be a change > in
[jira] [Updated] (MNG-5951) add an option to avoid path addition to inherited URLs
[ https://issues.apache.org/jira/browse/MNG-5951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hervé Boutemy updated MNG-5951: --- Description: What I am trying to achieve is the definition of a project.url in a parent pom in a way that all children inherit a url ending with {code} ${project.groupId}/${project.artifactId}/${project.version}/ {code} in order to be able to publish sites of all artifacts in all versions in parallel without having to redefine the url in every child pom. This is currently not working as expected in maven due to the default child urls calculation which leads to urls that add up parent urls like http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/ The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic child url calculation (those are the artifactIds of all parent poms beneath our enterprise parent pom where the url is defined) and *is expexted to not be there at all*. The repeated artifactID at the end of the url is superfluous as well but tollerable. I expect maven-core to be changed so that I can turn on/off the automatic calculation of child URLs as an option which is by default on (current behaviour so nothing will change unless configured explicitly). See the discussion in MSITE-672. As this can not be done in the maven-site-plugin there needs to be a change in Maven Model Builder, ie the way effective model is calculated, and more precisely in the inheritance step: http://maven.apache.org/ref/current/maven-model-builder/. was: What I am trying to achieve is the definition of a project.url in a parent pom in a way that all children inherit a url ending with {code} ${project.groupId}/${project.artifactId}/${project.version}/ {code} in order to be able to publish sites of all artifacts in all versions in parallel without having to redefine the url in every child pom. This is currently not working as expected in maven due to the default child urls calculation which leads to urls that add up parent urls like http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/ The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic child url calculation (those are the artifactIds of all parent poms beneath our enterprise parent pom where the url is defined) and *is expexted to not be there at all*. The repeated artifactID at the end of the url is superfluous as well but tollerable. I expect maven-core to be changed so that I can turn on/off the automatic calculation of child URLs as an option which is by default on (current behaviour so nothing will change unless configured explicitly). See the discussion in MSITE-672. As this can not be done in the maven-site-plugin there needs to be a change in maven-core. > add an option to avoid path addition to inherited URLs > -- > > Key: MNG-5951 > URL: https://issues.apache.org/jira/browse/MNG-5951 > Project: Maven > Issue Type: Improvement > Components: Inheritance and Interpolation >Affects Versions: 3.0.5, 3.1.1, 3.2.5, 3.3.9 >Reporter: Jörg Sesterhenn > > What I am trying to achieve is > the definition of a project.url in a parent pom > in a way that all children inherit a url ending with > {code} > ${project.groupId}/${project.artifactId}/${project.version}/ > {code} > in order to be able to publish sites of all artifacts in all versions in > parallel > without having to redefine the url in every child pom. > This is currently not working as expected in maven due to the default child > urls calculation which leads to urls that add up parent urls like > http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/ > The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic > child url calculation (those are the artifactIds of all parent poms beneath > our enterprise parent pom where the url is defined) and *is expexted to not > be there at all*. The repeated artifactID at the end of the url is > superfluous as well but tollerable. > I expect maven-core to be changed so that I can turn on/off the automatic > calculation of child URLs as an option which is by default on (current > behaviour so nothing will change unless configured explicitly). > See the discussion in MSITE-672. > As this can not be done in the maven-site-plugin there needs to be a change > in Maven Model Builder, ie the way effective model is calculated, and more > precisely in the inheritance step: > http://maven.apache.org/ref/current/maven-model-builder/. -- T
[jira] [Updated] (MNG-5951) add an option to avoid path addition to inherited URLs
[ https://issues.apache.org/jira/browse/MNG-5951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hervé Boutemy updated MNG-5951: --- Summary: add an option to avoid path addition to inherited URLs (was: Interpolate project urls (site...) at child level) > add an option to avoid path addition to inherited URLs > -- > > Key: MNG-5951 > URL: https://issues.apache.org/jira/browse/MNG-5951 > Project: Maven > Issue Type: Improvement > Components: Inheritance and Interpolation >Affects Versions: 3.0.5, 3.1.1, 3.2.5, 3.3.9 >Reporter: Jörg Sesterhenn > > What I am trying to achieve is > the definition of a project.url in a parent pom > in a way that all children inherit a url ending with > {code} > ${project.groupId}/${project.artifactId}/${project.version}/ > {code} > in order to be able to publish sites of all artifacts in all versions in > parallel > without having to redefine the url in every child pom. > This is currently not working as expected in maven due to the default child > urls calculation which leads to urls that add up parent urls like > http://my.domain.de/sites/de.enterprise.calculatorsGroupId/calculator-artifactID/1.0.0-SNAPSHOT/internetAppParentPOM/calculatorParentPom/calculator-artifactID/ > The part *"internetAppParentPOM/calculatorParentPom/"* is added by automatic > child url calculation (those are the artifactIds of all parent poms beneath > our enterprise parent pom where the url is defined) and *is expexted to not > be there at all*. The repeated artifactID at the end of the url is > superfluous as well but tollerable. > I expect maven-core to be changed so that I can turn on/off the automatic > calculation of child URLs as an option which is by default on (current > behaviour so nothing will change unless configured explicitly). > See the discussion in MSITE-672. > As this can not be done in the maven-site-plugin there needs to be a change > in maven-core. -- This message was sent by Atlassian JIRA (v6.3.4#6332)