Thank you for asking this question. I had the very same problem and I'd love to hear a best practices approach. My workaround, not the best, is to define them separately in profiles. Then you can use cmd line properties to activate one or the other in the activation section of the profile. It may not work in your case if you actually want certain pieces to deploy with different dist mgmt settings than others in a single build command.
Krishnamurthi, Venkat wrote: > > Hi, > > I'm trying to override a parent pom's distribution management through > the child's pom. (Deploy the artifacts in different directories). When I > tried adding a <distributionManagement> element in the child pom, it is > still picking up the details from the parent's pom. Please help me > resolve this issue. > > Thanks and Regards, > Venkat > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/running-mvn-idea%3Aidea-tp17232616p17279055.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]