Hi Valerio,
sorry for the late reply. Just the case you have something like:
+Project
|
+-Module A
|
+-Module B
|
+-Module C
In your parent pom you have set up the following parameters in order to
stage your site completely.
1. the Distribution Management Tag
<distributionManagement>
<site>
<id>my-site</id>
<name>My Website</name>
<url>scpexe://www.myPath.toMyProject/</url>
</site>
</distributionManagement>
This setting will be used to place the full website into the directory
c:\fullsite\www.myPath.toMyProject
2. The Module Tag
<modules>
<module>A</module>
<module>B</module>
<module>C</module>
</modules>
In order to tell maven which submodules are present.
The last thing is to use the full pathname and not a relative one for the
stagingDirectory Parameter:
e.g. mvn site:stage -DstagingDirectory=C:\fullsite
Maven itself will find out which subprojects are present and stage the
content of the site to the specified directory.
If only the site of the parent projects is available, than you did not
specify the modules section in the pom.
Please refer to the following pages for details:
http://maven.apache.org/plugins/maven-site-plugin/howto.html
and
http://maven.apache.org/guides/mini/guide-site.html
Within my project everything works fine.
Hope this helps,
Arne
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag
von Valerio Schiavoni
Gesendet: Samstag, 22. Juli 2006 15:56
An: Maven Users List
Betreff: Re: multi-module project site: link to module sites
Hello Arne,
On 7/21/06, Arne Sutor <[EMAIL PROTECTED]> wrote:
> Maven first creates in each module a directory staging and than copies
> everything in the directory c:\fullsite.
i launched mvn clean site:stage -DstagingDirectory=fullsite/
the content of fullsite is only about the parent project website. that is,
the copy of module websites has not being performed...
did you specify a particular revision for the maven-site-plugin ?
thanks,
valerio
--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]