I'd like different configuration for two reports of the same plugin. The
docs at
http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/maven-3.html
isn't clear if this is possible in the new configuration format
(m-site-p:3.0-beta-x).

A use case example would be for the m-javadoc-p where I'd like to use
different excludePackageNames for the aggregate report and the
test-aggregate report.

I've successfully managed to accomplish this by having two plugin sections
(within the reportPlugins section) for the m-javadoc-p. One listing the
aggregate report and one listing the test-aggregate report. Each with the
appropriate config.

I'm wondering if this is the intended way to do this? It kind of feels wrong
as this is not how I would do this for build plugins (a plugin cannot be
defined twice).

/Anders

Reply via email to