I have two Maven2 projects:

parent: contains a pom.xml file only
child:  has "parent" as the parent project.

The parent pom contains this:

  <distributionManagement>
    <site>
    <id>website</id>
    <url>scpexe://myserver:/data/htdocs/modules/${project.artifactId}</url>
    </site>
  </distributionManagement>

So, when I run
mvn site:deploy
for the child project, I expect the project.artifaceId to merge nicely into the 
url and produce:
"scpexe://myserver:/data/htdocs/modules/child"
but the result is
"scpexe://myserver:/data/htdocs/modules/child/child".


If I put the <distributionManagement> tag (as shown above) into the child 
pom.xml as well, the behavior changes, and I get the result I expected in the 
first place:
"scpexe://myserver:/data/htdocs/modules/child"


Can anyone tell me if this is the expected behavour, or where I can the 
documentation of these features?

Regards,
Øyvind Jergan


IMPORTANT NOTICE:
This message may contain confidential information. If you have received this 
e-mail in error, do not use, copy or distribute it. Do not open any 
attachments. Delete it immediately from your system and notify the sender 
promptly by e-mail that you have done so. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to