Uploaded image for project: '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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hboutemy Hervé Boutemy
                Reporter:
                richvdh Richard van der Hoff
              • Votes:
                28 Vote for this issue
                Watchers:
                29 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: