I worked on IRC with Olivier to understand more precisely what is available. Then added documentation to maven-reporting-exec and maven-site-plugin.
I won't repeat what is in the doc: please ping if it is not clear Regards, Hervé Le mardi 5 juillet 2011, Dennis Lundberg a écrit : > On 2011-07-05 22:00, Olivier Lamy wrote: > > 2011/7/5 Dennis Lundberg <denn...@apache.org>: > >> On 2011-07-04 20:11, Dennis Lundberg wrote: > >>> On 2011-07-03 00:14, Hervé BOUTEMY wrote: > >>>> AFAIK, code is ok: I'm closing MSITE-560 > >>> > >>> Great, thanks! > >>> > >>>> the only thing to confirm is the documentation: there is a TODO in > >>>> maven-3.apt.vm that we should check carefully: I'm personnally lost on > >>>> this one. > >>> > >>> I'll have a look at it. > >> > >> From what I can tell a reportSets/reportSet/reports/report and > >> reports/report are treated as equals in maven-reporting-exec. I don't > >> know whether they are both supported in Maven 2. Perhaps Olivier knows? > > > > Yup correct. > > I don't really understand the TODO here. > > > > Maybe to explain that something is not (yet) supported in site plugin for > > m3. This syntax (same plugin but different configuration for report : > > The > > > > complex xml tree with reportSet was in place for that.) : > > <reportSets> > > > > <reportSet> > > > > <configuration> > > > > <wine>Bordeaux</wine> > > > > </configuration> > > <reports> > > > > <report>foo</report> > > > > </reports> > > > > </reportSet> > > <reportSet> > > > > <configuration> > > > > <wine>Anjou</wine> > > > > </configuration> > > <reports> > > > > <report>bar</report> > > > > </reports> > > > > </reportSet> > > > > </reportSets> > > I seems to me that the <reportSets> syntax has more ways of applying > configuration than <reports> do. It can have configuration on several > different levels, and also have different configurations for different > reports. > > That said, we should have an example that shows how to do the same thing > in Maven 2 and Maven 3. Not two different things, like it is now. I'll > try to revise the examples so that it compares apples to apples, and not > apples to oranges. To avoid getting into configuration madness, I'll try > to keep them as simple as possible. > > >>> To pull off this release we must also make a first release of > >>> maven-reporting-exec, right? Since you have done most of the work on > >>> it, would you like to release it? If not I can do it. > >>> > >>>> Regards, > >>>> > >>>> Hervé > >>>> > >>>> Le samedi 2 juillet 2011, Dennis Lundberg a écrit : > >>>>> Hi > >>>>> > >>>>> What's the status on this? I know Hervé worked on extracting a shared > >>>>> component (maven-reporting-exec) for the Maven 3 specific parts of > >>>>> the plugin. Did you finish with that? > >>>>> > >>>>> I would like to push for a release of Site Plugin 3 shortly. The only > >>>>> issue left according to JIRA is this one: > >>>>> > >>>>> http://jira.codehaus.org/browse/MSITE-560 > >>>>> > >>>>> There are a lot stuff fixed already, and we need to get this out so > >>>>> that Maven 3 users can benefit from them. Do we want/need to add > >>>>> anything more before the release? > >>>> > >>>> --------------------------------------------------------------------- > >>>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > >>>> For additional commands, e-mail: dev-h...@maven.apache.org > >> > >> -- > >> Dennis Lundberg > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > >> For additional commands, e-mail: dev-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org