Hi all,

I have configured the maven-surefire-report-plugin in my parent POM as
follows:

  <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-report-plugin</artifactId>
    <version>2.4.3</version>
  </plugin>

Now this POM is also an aggregator POM, i.e., its packaging is set to
"pom". When I now generate a site for this project and its children, all
project sites contain a "Surefire Report" project report -- even the
aggregator project, which of course doesn't have any unit tests attached
(after all, its packaging is "pom", and the maven-surefire-plugin is never
run for it).

How can I disable these non-sensical reports for aggregator POMs while
still benefitting from inheritance? (I don't want to configure the plugin
manually in all my non-aggregator POMs.)

Best wishes,

Andreas Sewe


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to