... I've been too fast on the ctrl-enter shortcut, sorry.

So, here is what works for me:

In the POM:
<resources>
        <resource>
                <directory>src/site/xdocTemplates</directory>
                <targetPath>generated-site</targetPath>
                <filtering>true</filtering>
        </resource>
</resources>

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <configuration>
                <xdocDirectory>
                        ${project.build.outputDirectory}/generated-site
                </xdocDirectory>
        </configuration>
</plugin>

It processes the files, then saves them in a tmp directory. The site plugin goes in the tmp directory to take the files and put them in the /target/site directory. This way, the src/site/xdoc directory is empty, and so no conflict (file name clashes) happens.

This is surely not a nice way of doing things (by bypassing the src/site/xdoc dir), but it works.

Sebastien

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

Reply via email to