Maven
  1. Maven
  2. MNG-4508

No way to avoid adding artifactId to site urls

    Details

    • Complexity:
      Intermediate
    • Number of attachments :
      0

      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.

        Issue Links

          Activity

          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 ]
          Kenney Westerhof made changes -
          Fix Version/s 2.1-alpha-1 [ 13143 ]
          Fix Version/s Reviewed Pending Version Assignment [ 13555 ]
          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 -
          Component/s Sites & Reporting [ 12030 ]
          Affects Version/s 2.0.5 [ 12294 ]
          Key MNG-2915 MSITE-449
          Fix Version/s 3.x [ 13145 ]
          Complexity Intermediate
          Project Maven 2 & 3 [ 10500 ] Maven 2.x Site Plugin [ 11146 ]
          Brett Porter made changes -
          Project Maven 2.x Site Plugin [ 11146 ] Maven 2 & 3 [ 10500 ]
          Complexity Intermediate
          Key MSITE-449 MNG-4508
          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 [ 15565 ]
          Fix Version/s 3.1.alpha1 [ 16093 ]
          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 ]
          Stephen Connolly made changes -
          Fix Version/s 3.2 [ 15565 ]
          Fix Version/s Issues to be reviewed for 4.x [ 19871 ]

            People

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

              Dates

              • Created:
                Updated: