I expected it would, yes. On Tue, May 26, 2009 at 10:54 AM, Brendan Haverlock <brend...@mirthcorp.com>wrote:
> I am using 2.1.0, and it doesn't seem to make a difference which order I > put > them in. Based on what you said, shouldn't this be working in my version? > > Thanks, > > Brendan Haverlock > > -----Original Message----- > From: Brian Fox [mailto:bri...@infinity.nu] > Sent: Monday, May 25, 2009 3:19 PM > To: Maven Users List > Subject: Re: Override dependency classes with another module's classes > > The order in the poms is maintained as of 2.0.10, so you should be able to > affect the classpath by reordering the poms. > > 2009/5/22 Brendan Haverlock <brend...@mirthcorp.com> > > > Thanks Wayne...I just found a link to the other post about this: > > http://www.mail-archive.com/users@maven.apache.org/msg70079.html Thanks > > for not redirecting me to the "What is Maven" page. > > > > That seems like the only plausible solution to me for now. Is there any > > plan for making the dependency order matter in the POM files? That would > be > > really useful! > > > > Thanks again, > > > > Brendan Haverlock > > > > -----Original Message----- > > From: Wayne Fay [mailto:wayne...@gmail.com] > > Sent: Friday, May 22, 2009 11:12 AM > > To: Maven Users List > > Subject: Re: Override dependency classes with another module's classes > > > > > Unfortunately, we are overriding classes from a dependency library, so > we > > > are just putting the classes in the same package and wanting our > > overriding > > > classes to get precedence on the classpath. So, our classes are in the > > same > > > package as the library's classes and have the same class name, we just > > want > > > ours to be used at compile time. > > > > This just won't work at all, at least not consistently. Build a > > different jar containing just the classes you DON'T override, and > > depend on it instead. > > > > Wayne > > > > --------------------------------------------------------------------- > > 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 > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >