Maven
  1. Maven
  2. MNG-4508

No way to avoid adding artifactId to site urls

    Details

      Description

      Currently, whenever a child pom inherits from a parent (and doesn't override the relevant settings), both project.url and project.distributionManagement.site.url have the name of the child artifact appended.

      It would be nice to be able to have something like

      <url>scpexe://host/blah/${project.artifactId}/${project.version}</url>
      

      and have this inherited to all child poms in the obvious way.

      My usecase for this is that we have a single parent pom for all our projects, with useful settings such as distributionManagement, and I'd like to be able to deploy their sites to a single directory and have Apache generate me a directory listing for all the child projects. However, I curently have no way of releasing the parent project without obliterating the list of child projects.

        Issue Links

          Activity

          Richard van der Hoff created issue -
          Carlos Sanchez made changes -
          Field Original Value New Value
          Issue Type Bug [ 1 ] Improvement [ 4 ]
          Priority Major [ 3 ] Minor [ 4 ]
          Jason van Zyl made changes -
          Fix Version/s Reviewed [ 13555 ]
          kenneyw made changes -
          Fix Version/s Reviewed Pending Version Assignment [ 13555 ]
          Fix Version/s 2.1-alpha-1 [ 13143 ]
          eric.turcotte made changes -
          Link This issue is related to MNG-3075 [ MNG-3075 ]
          Jason van Zyl made changes -
          Fix Version/s 2.1.x [ 13142 ]
          Fix Version/s 2.1-alpha-1 [ 13143 ]
          Jason van Zyl made changes -
          Fix Version/s 3.x [ 13145 ]
          Fix Version/s 3.0 [ 13142 ]
          Paul Harrison made changes -
          Link This issue is depended upon by MNG-3244 [ MNG-3244 ]
          Paul Harrison made changes -
          Link This issue is depended upon by MNG-3244 [ MNG-3244 ]
          Paul Harrison made changes -
          Link This issue relates to MNG-3244 [ MNG-3244 ]
          Jason van Zyl made changes -
          Key MNG-2915 MSITE-449
          Project Maven 2 & 3 [ 10500 ] Maven 2.x Site Plugin [ 11146 ]
          Component/s Sites & Reporting [ 12030 ]
          Fix Version/s 3.x [ 13145 ]
          Affects Version/s 2.0.5 [ 12294 ]
          Complexity Intermediate
          Brett Porter made changes -
          Complexity Intermediate
          Key MSITE-449 MNG-4508
          Project Maven 2.x Site Plugin [ 11146 ] Maven 2 & 3 [ 10500 ]
          Brett Porter made changes -
          Fix Version/s 3.1.alpha1 [ 16093 ]
          Brett Porter made changes -
          Link This issue is related to MNG-4506 [ MNG-4506 ]
          Brett Porter made changes -
          Fix Version/s 3.1.alpha1 [ 16093 ]
          Fix Version/s 3.1 [ 15565 ]
          Benjamin Bentmann made changes -
          Link This issue is duplicated by MNG-2872 [ MNG-2872 ]
          Benjamin Bentmann made changes -
          Component/s Inheritance and Interpolation [ 11570 ]
          Benjamin Bentmann made changes -
          Link This issue is duplicated by MNG-4878 [ MNG-4878 ]
          Hannes Kogler made changes -
          Link This issue relates to MRELEASE-331 [ MRELEASE-331 ]
          stephenconnolly made changes -
          Fix Version/s 3.2 [ 15565 ]
          Fix Version/s Issues to be reviewed for 4.x [ 19871 ]
          Michael Osipov made changes -
          Link This issue is related to MPIR-312 [ MPIR-312 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Mark Thomas made changes -
          Link This issue is related to MPIR-312 [ MPIR-312 ]
          Mark Thomas made changes -
          Link This issue relates to MRELEASE-331 [ MRELEASE-331 ]
          Mark Thomas made changes -
          Workflow jira [ 12713436 ] Default workflow, editable Closed status [ 12755616 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Link This issue is related to MPIR-312 [ MPIR-312 ]
          Mark Thomas made changes -
          Link This issue relates to MRELEASE-331 [ MRELEASE-331 ]
          Mark Thomas made changes -
          Workflow jira [ 12952469 ] Default workflow, editable Closed status [ 12989818 ]
          Hervé Boutemy made changes -
          Description Currently, whenever a child pom inherits from a parent (and doesn't override the relevant settings), both project.url and project.distributionManagement.site.url have the name of the child artifact appended.

          It would be nice to be able to have something like

          :code:
          <url>scpexe://host/blah/${project.artifactId}/${project.version}</url>
          :code:

          and have this inherited to all child poms in the obvious way.

          My usecase for this is that we have a single parent pom for all our projects, with useful settings such as distributionManagement, and I'd like to be able to deploy their sites to a single directory and have Apache generate me a directory listing for all the child projects. However, I curently have no way of releasing the parent project without obliterating the list of child projects.
          Currently, whenever a child pom inherits from a parent (and doesn't override the relevant settings), both project.url and project.distributionManagement.site.url have the name of the child artifact appended.

          It would be nice to be able to have something like

          {code:xml}
          <url>scpexe://host/blah/${project.artifactId}/${project.version}</url>
          {code}

          and have this inherited to all child poms in the obvious way.

          My usecase for this is that we have a single parent pom for all our projects, with useful settings such as distributionManagement, and I'd like to be able to deploy their sites to a single directory and have Apache generate me a directory listing for all the child projects. However, I curently have no way of releasing the parent project without obliterating the list of child projects.

            People

            • Assignee:
              Unassigned
              Reporter:
              Richard van der Hoff
            • Votes:
              23 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

              • Created:
                Updated:

                Development