felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Kriens <Peter.Kri...@aQute.biz>
Subject Re: Overriding class when creating a bundle
Date Tue, 17 Jul 2007 10:02:54 GMT
You can use Include-Resource to include the classes from your sources.
The classpath expansion looks for a package along the classpath, if
found it does not look further. However, Include-Resource works
independent from this expansion.

Kind regards,

     Peter Kriens
     
CZ> Hi,

CZ> we are using the maven bundle plugin (which works great btw) and now
CZ> face the following problem:

CZ> Together with our own code we want to bundle a 3rd party library and at
CZ> the same time override some classes from this library with our own
CZ> classes (to include some hot fixes and patches).

CZ> So, basically we have a maven project which has our own code and the
CZ> patch code in source, a dependency to the 3rd party library and that's
CZ> it. When building the bundle, it seems that the clases from the 3rd
CZ> party artifact are preferred and therefore our patches never make it
CZ> into the bundle.

CZ> Is there a way of achieving this?

CZ> Regards
CZ> Carsten


-- 
Peter Kriens                              Tel +33467542167
9C, Avenue St. Drézéry                    AOL,Yahoo: pkriens
34160 Beaulieu, France                    ICQ 255570717
Skype pkriens                             Fax +1 8153772599


Mime
View raw message