Skip to content

Commit 7cc6f0c

Browse files
committed
#1367 Added missing activation policy
1 parent 83bba1b commit 7cc6f0c

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

log4j-api/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
sun.reflect;resolution:=optional,
7272
*</Import-Package>
7373
<Bundle-Activator>org.apache.logging.log4j.util.Activator</Bundle-Activator>
74+
<Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
7475
<_fixupmessages>"Classes found in the wrong directory";is:=warning</_fixupmessages>
7576
</instructions>
7677
</configuration>

log4j-core/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@
192192
javax.mail.util;version="[1.6,2)";resolution:=optional,
193193
sun.reflect;resolution:=optional,
194194
*</Import-Package>
195+
<Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
195196
<Bundle-Activator>org.apache.logging.log4j.core.osgi.Activator</Bundle-Activator>
196197
</instructions>
197198
</configuration>

log4j-slf4j2-impl/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
<instructions>
109109
<Export-Package>org.apache.logging.slf4j,
110110
org.slf4j.impl</Export-Package>
111+
<Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
111112
<Require-Capability>osgi.extender;filter:="(osgi.extender=osgi.serviceloader.registrar)"</Require-Capability>
112113
<Provide-Capability>osgi.serviceloader;osgi.serviceloader=org.slf4j.spi.SLF4JServiceProvider</Provide-Capability>
113114
</instructions>

0 commit comments

Comments
 (0)