BND: -split-package:=merge-first behaves like merge-last
--------------------------------------------------------

                 Key: FELIX-458
                 URL: https://issues.apache.org/jira/browse/FELIX-458
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
    Affects Versions: 1.2.0
            Reporter: Stuart McCulloch
            Priority: Minor
             Fix For: 1.2.1


BND has a split-package directive used to combine packages with 
different/overlapping content. However, the 'merge-first' setting appears to 
behave like 'merge-last' which means you cannot use this to overlay local 
classes on top of inlined dependencies, because the local class would be 
overwritten by the one from the dependency (as it appears after it on the 
classpath, and is merged last).

The current workaround is to use Include-Resource to explicitly overwrite the 
affected class with the correct version.

I've raised this issue with Peter, and suggested a fix. This issue will target 
the next maintenance release after version 1.2.0 of the plugin.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to