Hey Ashley, I've been able to do something similar by putting the
following in the POM of the parent.

<distributionManagement>
  <site>
    <url>file://${user.dir}/site</url>
  </site>
</distributionManagement>   

This puts the site directory inside the parent directory however when I
run site-deploy.

-----Original Message-----
From: Ashley Williams [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 01, 2008 12:31 PM
To: [email protected]
Subject: maven site multi-module question

Hi,

I'm having trouble generating a maven site in the directory of my
choosing. I don't want to actually deploy the site (onto a remote
server), but instead I want to copy the resulting website into a local
directory.
The directory then gets picked up by a company process and gets placed
into a webserver directory some time later.

The trouble is that no combination of site:site or site:stage seem to
work.
Here is the project structure:


/mvnparentdir           [pom.xml]
        |
        |_____project1  [pom.xml]
        |
        |_____project2  [pom.xml]
        |
        |...

/websitedir


So what combination of settings do I need to specify in the various 
pom.xml files in order
to generate the fully formed website in the websitedir directory, which 
I'm assuming is a
sibling to the /mvnparentdir directory?

Thanks
- Ashley

---

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and delete this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

Please refer to http://www.db.com/en/content/eu_disclosures.htm for
additional EU corporate and regulatory disclosures.


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

Reply via email to