well, I would submit it into jira and it will likely be ruled one way or the other in fairly short order
http://jira.codehaus.org/browse/MNG On 10/19/05, Brian Bonner <[EMAIL PROTECTED]> wrote: > > Yes, it looks like if the same configuration element is used inside, > the first one in the pom seems to take precedence when doing the > "merge" (or should I say stomp), but if the configuration elements are > different the merge works fine. > > I was really hoping for a result like this: > > <classpathContainer>Eclipse31</classpathContainer> > <classpathContainer>WTP</classpathContainer> > > If each element was specified in a separate profile, it would make > configuration of the plugin *very* nice and work like I expected it to > work. > > I'm hoping this is a bug that can easily be fixed. > > Brian > > On 10/19/05, Jesse McConnell <[EMAIL PROTECTED]> wrote: > > oh, interesting...so the plugins are all lumped together and duplicate > > plugins of the same time are overriden? > > > > On 10/19/05, Brian Bonner <[EMAIL PROTECTED]> wrote: > > > > > > Well, more info, it looks like it works for different elements inside > > > of a configuration, but not the "same" element. > > > > > > i.e. if I use: > > > > > > <profile> > > > <!-- Build Profile for Eclipse WTP --> > > > <id>eclipse</id> > > > <activation> > > > <property> > > > <name>eclipse31wtp</name> > > > <value>true</value> > > > </property> > > > </activation> > > > <build> > > > <plugins> > > > <plugin> > > > > > > <groupId>org.apache.maven.plugins</groupId> > > > > > > <artifactId>maven-eclipse-plugin</artifactId> > > > <configuration> > > > <classpathContainers> > > > > > > <java.lang.String>Using Eclipse31</java.lang.String> > > > </classpathContainers> > > > </configuration> > > > </plugin> > > > </plugins> > > > </build> > > > </profile> > > > > > > <profile> > > > <!-- Build Profile for Eclipse WTP --> > > > <id>wtp</id> > > > <activation> > > > <property> > > > <name>wtp</name> > > > <value>true</value> > > > </property> > > > </activation> > > > <build> > > > <plugins> > > > <plugin> > > > > > > <groupId>org.apache.maven.plugins</groupId> > > > > > > <artifactId>maven-eclipse-plugin</artifactId> > > > <configuration> > > > <buildcommands> > > > > > > <java.lang.String>WTP</java.lang.String> > > > </buildcommands> > > > </configuration> > > > </plugin> > > > </plugins> > > > </build> > > > </profile> > > > > > > I get an effective-pom that has classpath from Eclipse31 and > > > buildcommands from WTP. > > > > > > Not exactly what I was hoping for. > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > jesse mcconnell > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- jesse mcconnell
