sverhagen ha scritto:
Googled for this, but to no avail. My question:

Can sub-modules re-use the site resources of their parent? And how?

I've a src/site/site.xml in my parent project. This files is nicely re-used
by the sub-models.

However, my src/site/resources/... (an image and a CSS file in their own
sub-folers) aren't picked up.

This is how the image is referenced:

        <bannerLeft>
                <src>./images/image.png</src>
        </bannerLeft>

Use absolute urls.

They will be stripped according to your pom url and relative paths will be calculated for child modules.

This only works fine with latest site plugin (2.0-beta-7)

Stefano

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

Reply via email to