Hi,
Here it's more a site plugin issue (looks related to
http://jira.codehaus.org/browse/MSITE-504 but needs to be more
investigated)
Can you record an issue with a simple project to reproduce ?

Thanks,

2010/9/17 Martin Vaněk <antha...@post.cz>:
>  So now I've found most likely bug in site plugins configuration
>
> In parent pom.xml
> build.pluginManagement.plugins.plugin[maven-site-plugin].reportPlugins
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-changes-plugin</artifactId>
> <reports>
> <report>changes-report</report>
> </reports>
> <configuration>
> <xmlPath>${basedir}/src/changes.xml</xmlPath>
> </configuration>
> </plugin>
>
> <plugin>
> <groupId>de.smartics.maven.plugin</groupId>
> <artifactId>maven-buildmetadata-plugin</artifactId>
> <reports>
> <report>buildmetadata-report</report>
> </reports>
> </plugin>
>
> If in child pom.xml
> build.pluginManagement.plugins.plugin[maven-site-plugin].reportPlugins
> <plugin>
> <groupId>de.smartics.maven.plugin</groupId>
> <artifactId>maven-buildmetadata-plugin</artifactId>
> <!--
> <reports>
> <report>buildmetadata-report</report>
> </reports>
>                                -->
> </plugin>
>
> same maven-buildmetadata-plugin is without
> <report>buildmetadata-report</report> mvn site will fail
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.0-beta-2:site (default-site) on
> project komix-common: failed to
> get Reports: Could not find goal changes-report in plugin
> de.smartics.maven.plugin:maven-buildmetadata-plugin:1.1.0 among available
> goals bu
> ildmetadata-report, provide-buildmetadata, build-point -> [Help 1]
>
> So it tries to generate report from another plugin...
>
> It fails in combinations:
> parent in build.pluginManagement & child in build.pluginManagement
> parent in build.pluginManagement & child in build.plugins
> parent in build.plugins & child in build.plugins
>
> So it only works when:
> parent in build.plugins & child in build.pluginManagement because child
> build.pluginManagement is completely ignored (and it is inherited) for site
> plugin
>
>>  Hi guys,
>> so far so good, but I've found something little odd.
>> I have reporting plugins preconfigured in pluginManagement section of
>> parent pom and I've noticed that this configuration is used only when
>> building parent and is not inherited into child projects and has to be
>> configured explicitly again. Version of plugin is inherited. Is it
>> intentional?
>>
>> Martin
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>



-- 
Olivier
http://twitter.com/olamy
http://www.linkedin.com/in/olamy

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

Reply via email to