Dear Wiki user, You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.
The "Maven3Plan" page has been changed by NiallPemberton. http://wiki.apache.org/commons/Maven3Plan?action=diff&rev1=3&rev2=4 -------------------------------------------------- == Site Generation == - The main issue with Maven3 are the changes to site generation. The <reporting> section no longer works - maven-site-plugin now in the <plugins> section of <build> with reports configured in the site plugins configuration. See [[https://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html|Maven 3.x and site plugin]] + === Configuration === + + See [[https://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html|Maven 3.x and site plugin]] + + The main issue with Maven3 are the changes to site generation. The <reporting> section no longer works - maven-site-plugin is now configured in the <plugins> section of <build> with report plugins configured in the maven-site-plugin's configuration. + + === Merging site configuration items from a parent POM === + + There's an issue with ''inheriting'' the maven-site-plugin's configuration from a parent and merging it with a components configuration - See: + * http://jira.codehaus.org/browse/MSITE-484 + * http://jira.codehaus.org/browse/MNG-4856 + * http://jira.codehaus.org/browse/PLXUTILS-134 + + At the moment the fix is to add '''combine.children="append"''' (See [[http://docs.codehaus.org/display/MAVENUSER/FAQs-1#FAQs-1-HowdoImergealistofconfigurationitemsinaparentPOMwiththoseinachildPOM%3F|FAQs-1]]) - its not 100% and I don't currently know whether this is the only/permanent solution or whether the maven team is going to fix this properly. You can see an example of this [[https://svn.apache.org/repos/asf/commons/proper/chain/branches/test-maven3-profile/pom.xml|here]] + + {{{{ + <plugin> + <artifactId>maven-site-plugin</artifactId> + <configuration> + <reportPlugins combine.children="append"> + ... + </reportPlugins> + </configuration> + </plugin> + }}}} == Plan == * Testing --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org