Maven
  1. Maven
  2. MNG-3254

artifactId is not appended any more in distributionManagement.site.url in multi modules when it's not defined in a child

    Details

    • Number of attachments :
      1

      Description

      My root pom is :
      <project>
      <modelVersion>4.0.0</modelVersion>
      <groupId>maven</groupId>
      <artifactId>p0</artifactId>
      <packaging>pom</packaging>
      <name>p0</name>
      <version>1.0</version>
      <modules>
      <module>p1</module>
      </modules>
      <distributionManagement>
      <site>
      <id>distSiteId</id>
      <url>sftp://ip/path/</url>
      </site>
      </distributionManagement>
      </project>

      My child pom doesn't have distributionManagement defined : the site is deployed to sftp://ip/path/ instead of sftp://ip/path/p1

        Issue Links

          Activity

          Hide
          Olivier Lamy added a comment -

          A simple test case, test it with changing distributionManagement.site.url

          Show
          Olivier Lamy added a comment - A simple test case, test it with changing distributionManagement.site.url
          Hide
          brianfox brianfox added a comment -

          reverted MNG-3244, which is what caused this.

          Show
          brianfox brianfox added a comment - reverted MNG-3244 , which is what caused this.

            People

            • Assignee:
              brianfox brianfox
              Reporter:
              Olivier Lamy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: