[ http://jira.codehaus.org/browse/MNG-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=128823#action_128823 ]
Erick Dovale commented on MNG-2174: ----------------------------------- I am hitting this bug. In my case I have profiles defined in the parent pom of a multi-module project. In the profile's pluginManagement section (db profiles) I defined dependencies for the plugins (db drivers). In the parent pom's pluginManagement section I wanted to defined the version of the plugin to avoid having to repeat this information on every single DB profile. As soon as I did this the dependency defined in the pluginManagement section of the profile got lost in translation. The solution is then to live with the repeated version for now. The prags would be disappointed. > <pluginManagement><plugins><plugin><dependencies> do not propogate to child > POM plugins (potentially scoped to only affecting child POM plugins that live > within a <profile>) > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: MNG-2174 > URL: http://jira.codehaus.org/browse/MNG-2174 > Project: Maven 2 > Issue Type: Bug > Components: Inheritance and Interpolation, Plugins and Lifecycle > Reporter: John Allen > Fix For: 2.1 > > > <pluginManagement><plugins><plugin><dependencies> do not propogate to child > POM plugins. > Kenny believe this works OKAY if the childs are using the parent > <pluginManagement> preconfigured plugins in their main <build> section > however it does NOT work if the childs are trying to use those preconfigured > plugins via their own <profiles>. Configuration propogates through okay but > dependencies are missing and have to be respecified in the child POMs. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira