Andrei Shakirin created FELIX-6676:
--------------------------------------
Summary: Embed-Dependency with activator class always set
Bunde-Activator and Bundle-ActivationPolicy
Key: FELIX-6676
URL: https://issues.apache.org/jira/browse/FELIX-6676
Project: Felix
Issue Type: Bug
Components: Maven Bundle Plugin
Affects Versions: maven-bundle-plugin-5.1.9
Reporter: Andrei Shakirin
Attachments: org.apache.poi-bundle-project.zip
Use case: I use felix bundle plugin 5.1.9 to embed third party library with
transitive dependencies into my bundle with maven.
Problem: I faced the following problem: one transitive dependency (in this case
it was log4j-api-2.21.1.jar) is bundle itself and contains following entries in
manifest file:
Bundle-Activator: org.apache.logging.log4j.util.Activator
Bundle-ActivationPolicy: lazy
For some reason Felix bundle plugin sets this Bundle-Activator and
Bundle-ActivationPolicy hard into manifest of my bundle.
I have no chance neither to redefine it to my activator no to remove it.
I can accept also workaround, but for me looks like a bug.
Sample project to reproduce the problem is attached.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)