[ODLPARENT-189] Add support for monkey-patched features Created: 03/Jan/19  Updated: 08/Jan/19  Resolved: 08/Jan/19

Status: Resolved
Project: odlparent
Component/s: Karaf
Affects Version/s: None
Fix Version/s: 4.0.8, 3.1.6

Type: Improvement Priority: Medium
Reporter: Robert Varga Assignee: Stephen Kitt
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to ODLPARENT-193 Allow features to be patched at distr... Confirmed

 Description   

Upstream karaf provides features which are inconsitent in the versions of artifacts it pulls and furthermore we are providing newer versions in declarations.

This leads to our distribution having multiple versions, which are not used, because karaf-plugin looks at unpatched versions as resolved by maven, not as overridden via opendaylight-karaf-resources.

Currently this affects:

  • javax.mail at 484kB
  • commons.codec at 258+278kB
  • aries.util at 108kB
  • jolokia-osgi at 403kB
  • h2database at 1512kB
  • commons-beanutils at 227kB
  • jackson at 65+317+1317kB

totalling 4.8MB of waste.

PopulateLocalRepoMojo should allow for specific features to be configured as available locally, so that it examines patched versions, eliminating the need for additional dependencies in karaf4-parent and also eliminating duplicates.


Generated at Wed Feb 07 20:27:52 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.