> At first, I define two maven java doc plugin inside the reporting tag and 
> used to generate
> different type of javadoc, one for standard javadoc and for customize one.

FYI: I don't use much of the reporting functionality in Maven, just the basics.

> Later, I want to move those two javadoc plug in into the parent pom, I don't 
> use the
> pluginElement, just want all of our sub project could use it directly.

Generally speaking, you don't include a plugin twice in your pom, you
should include it once and use <executions> or <reportSets> to provide
different configurations for the various executions you require. Read
more online:
https://maven.apache.org/plugins/maven-site-plugin/examples/configuring-reports.html

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to