Hello Stefano,
On 9/23/06, Stefano Fornari <[EMAIL PROTECTED]> wrote:
funambol
common
pim
I hope I created correctly the parent-child relationship. I would
expect that running mvn site, the funambol site shows me a link to the
common module, which shows me a link to the pim module which finally
shows the pim site. Instead, the funambol site lists common as a
module, but it does not link it. If instead I open funambol/common's
site, I see pim as a link, but the link is wrong.
Am I doing something wrong in my poms hierarchy?
i checked the attached pom, and parent-child relationships are ok. What I
can't see is some missing information about distribution management. in
past, i had some problems with multi-module projects and non-conventional
settings for that block.
Typically,
in the parent pom i have something like:
<distributionManagement>
<site>
<id>a-server-id</id>
<url>scp://IP-OF-YOUR-SERVER/path/to/maven-site/your
project</url>
</site>
...
</distributionManagement>
where path/to/maven-site/your project is a directory served by an apache
server.
Then, for a direct child of the parent i have something like:
<distributionManagement>
<site>
<id>a-server-id</id>
<url>scp://IP-OF-YOUR-SERVER/path/to/maven-site/your-project/child-module</url>
</site>
...
</distributionManagement>
how are you generating the site ?
can you try using a staging directory ? if you're on linux, you could the
the following:
mvn clean site:stage-deploy
-DstagingDirectory=/home/VOSTROUTENTE/workspace/funambol/fullsite
ciao,
valerio
--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni