Hi,
I have some (test)modules, containing only a few test sources and their
pom.xml:
src\
TS_xx_1\pom.xml
\src\test\java
TS_xx_2
...
TS_xx_n
I now want an "overall-view" (site), especially about the test-results,
therefore I put
a pom,.xml to the directory root, containing:
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.5</version>
<configuration>
<aggregate>true</aggregate>
</configuration>
</plugin>
</plugins>
</reporting>
and the modules:
<modules>
<module>TS_xx_1</module>
<module>TS_xx_n</module>
</modules>
I also put a src\site\site.xml to the directory root containing:
<body>
<menu ref="parent" />
<menu ref="modules" />
<menu ref="reports" />
</body>
The site is now generated, I found the aggregated surefire-report and the
additionally configured menus like "modules" and "reports"
Now the question:
Is there any possibility to "inherit" the src\site\site.xml configuration
to all my submodules, based on a (company) parent pom.xml ?
My actually workaround is to "copy & paste" the src\site\site.xml (and
images) into all my submodules .- blowing up the directory trees.....
Thanx for any hint how to do this
Torsten