-Original Message-
From: Wayne Fay [mailto:wayne...@gmail.com]
Sent: Tuesday, May 26, 2009 4:50 PM
To: Maven Users List
Subject: Re: Override dependency classes with another module's classes
Like Brian, I expected this would work right in 2.0.10 and 2.1.0, so
I'm a bit surprised it didn't
So the module A that has these 2 dependencies is trying to use the
implementations from the queue-override that overrides the packages/classes
inside of mule. So:
Is Mule perhaps using OSGi or something to look up classes, so even
though your artifacts/classes appear first in the classpath,
of
dependencies from the parent project.
Thanks,
Brendan Haverlock
-Original Message-
From: Wayne Fay [mailto:wayne...@gmail.com]
Sent: Wednesday, May 27, 2009 5:04 PM
To: Maven Users List
Subject: Re: Override dependency classes with another module's classes
So the module A that has these 2
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
-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
Like Brian, I expected this would work right in 2.0.10 and 2.1.0, so
I'm a bit surprised it didn't work.
Having said that, let me remind you what I said earlier... ;-)
This just won't work at all, at least not consistently. Build a
different jar containing just the classes you DON'T override,
-
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
name, we just want
ours to be used at compile time.
Thanks,
Brendan Haverlock
From: Martin Gainty [mailto:mgai...@hotmail.com]
Sent: Thursday, May 21, 2009 6:15 PM
To: brend...@mirthcorp.com
Subject: RE: Override dependency classes with another module's classes
public interface
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
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
10 matches
Mail list logo