Maven 2 & 3

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
Brian Fox added a comment -

reverted MNG-3244, which is what caused this.

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

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: