I've created a parent POM, in which to house a few common dependencies,
but mostly to set up how a site is built:
* CheckStyle rules,
* JavaDoc stylesheet,
* JXR stylesheet,
* site stylesheet.
But the latter site.css is not being picked up: It lives in
src/site/resources/css/site.css
under the parent project. If I put site.css under the child project, it
is copied to
target/site/css just fine.
Should I be able to put such resources under the parent POM's project?
I've even tried specifying the following in the parent POM:
<reporting>
<plugins>
<!-- Site -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<stylesheet>
${env.FSB_PROJECTS_HOME}/fsb-master-pom/src/site/resources/css/site.css
</stylesheet>
</configuration>
</plugin>
...
It'd be nice to specify such things once in the parent project to be used
by all child projects.
Ideas?
Tom
j.t.halliley@...
<P>
This e-mail may contain data that is confidential, proprietary or non-public personal information, as that term is defined in the Gramm-Leach-Bliley Act (collectively, Confidential Information). The Confidential Information is disclosed conditioned upon your agreement that you will treat it confidentially and in accordance with applicable law, ensure that such data isn't used or disclosed except for the limited purpose for which it's being provided and will notify and cooperate with us regarding any requested or unauthorized disclosure or use of any Confidential Information.
By accepting and reviewing the Confidential information, you agree to indemnify us against any losses or expenses, including attorney's fees that we may incur as a result of any unauthorized use or disclosure of this data due to your acts or omissions. If a party other than the intended recipient receives this e-mail, he or she is requested to instantly notify us of the erroneous delivery and return to us all data so delivered.
</P>
<geek>Tom Halliley</geek>