Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.8
-
Fix Version/s: 2.0.8
-
Component/s: Inheritance and Interpolation
-
Labels:None
-
Number of attachments :
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
A simple test case, test it with changing distributionManagement.site.url