File tree Expand file tree Collapse file tree 11 files changed +31
-45
lines changed Expand file tree Collapse file tree 11 files changed +31
-45
lines changed Original file line number Diff line number Diff line change 36
36
<bnd-multi-release >true</bnd-multi-release >
37
37
<!-- Differs from OSGi bundle name -->
38
38
<bnd-module-name >org.apache.logging.log4j</bnd-module-name >
39
- <bnd-extra-package-options >
40
- <!-- This is a Java 9 only package, so BND can not detect it as private -->
41
- !org.apache.logging.log4j.util.internal
42
- </bnd-extra-package-options >
43
39
<bnd-extra-module-options >
44
40
<!-- Used in StringBuilders through reflection -->
45
41
java.sql;static=true,
Original file line number Diff line number Diff line change 53
53
org.hamcrest;transitive=false,
54
54
org.junit.jupiter.api;transitive=false,
55
55
<!-- Name changes -->
56
- org.assertj.core;substitute="assertj-core",
57
56
java.allocation.instrumenter;substitute="java-allocation-instrumenter",
58
57
spring.test;substitute="spring-test"
59
58
</bnd-extra-module-options >
Original file line number Diff line number Diff line change 66
66
<!-- Remove `transitive` from optional dependencies -->
67
67
com.fasterxml.jackson.annotation;transitive=false,
68
68
com.lmax.disruptor;transitive=false,
69
- com.fasterxml.jackson.core;substitute="jackson-core"; transitive=false,
70
- com.fasterxml.jackson.databind;substitute="jackson-databind"; transitive=false,
71
- com.fasterxml.jackson.dataformat.xml;substitute="jackson-dataformat-xml"; transitive=false,
72
- com.fasterxml.jackson.dataformat.yaml;substitute="jackson-dataformat-yaml"; transitive=false,
69
+ com.fasterxml.jackson.core;transitive=false,
70
+ com.fasterxml.jackson.databind;transitive=false,
71
+ com.fasterxml.jackson.dataformat.xml;transitive=false,
72
+ com.fasterxml.jackson.dataformat.yaml;transitive=false,
73
73
java.naming;transitive=false,
74
74
org.apache.commons.csv;transitive=false,
75
75
org.fusesource.jansi;transitive=false,
Original file line number Diff line number Diff line change 32
32
<!--
33
33
~ OSGi and JPMS options
34
34
-->
35
- <bnd-extra-module-options >
36
- <!-- Non detected module names -->
37
- com.fasterxml.jackson.core;substitute="jackson-core",
38
- com.fasterxml.jackson.databind;substitute="jackson-databind"
39
- </bnd-extra-module-options >
40
35
<Fragment-Host >org.apache.logging.log4j.core</Fragment-Host >
41
36
</properties >
42
37
<dependencies >
Original file line number Diff line number Diff line change 27
27
<packaging >jar</packaging >
28
28
<name >Apache Log4j Commons Logging Bridge</name >
29
29
<description >The Apache Log4j Commons Logging Adapter</description >
30
- <properties >
31
- <bnd-extra-module-options >
32
- <!-- Filebase module names: MUST be static -->
33
- commons.logging;substitute="commons-logging";transitive=false;static=true
34
- </bnd-extra-module-options >
35
- </properties >
30
+
36
31
<dependencies >
37
32
<dependency >
38
33
<groupId >org.apache.logging.log4j</groupId >
Original file line number Diff line number Diff line change 33
33
~ OSGi and JPMS options
34
34
-->
35
35
<bnd-module-name >org.apache.logging.log4j.core.appender.db.jdbc</bnd-module-name >
36
- <bnd-extra-module-options >
37
- <!-- Module names -->
38
- org.apache.commons.dbcp2;substitute="commons-dbcp2"
39
- </bnd-extra-module-options >
40
36
<Fragment-Host >org.apache.logging.log4j.core</Fragment-Host >
41
37
</properties >
42
38
Original file line number Diff line number Diff line change 32
32
<!--
33
33
~ OSGi and JPMS options
34
34
-->
35
- <bnd-extra-module-options >
36
- <!-- Non detected module names -->
37
- com.fasterxml.jackson.core;substitute="jackson-core",
38
- com.fasterxml.jackson.databind;substitute="jackson-databind"
39
- </bnd-extra-module-options >
40
35
<Fragment-Host >org.apache.logging.log4j.core</Fragment-Host >
41
36
</properties >
42
37
Original file line number Diff line number Diff line change 28
28
<packaging >jar</packaging >
29
29
<name >Apache Log4j SLF4J 2.0 Binding</name >
30
30
<description >The Apache Log4j SLF4J 2.0 API binding to Log4j 2 Core</description >
31
- <properties >
32
31
33
- <!--
34
- ~ OSGi and JPMS options
35
- -->
36
- <bnd-extra-module-options >
37
- <!-- The module descriptor is in `META-INF/versions/9`
38
- BND can not find it -->
39
- org.slf4j;substitute="slf4j-api"
40
- </bnd-extra-module-options >
41
- </properties >
42
32
<dependencies >
43
33
<dependency >
44
34
<groupId >org.osgi</groupId >
Original file line number Diff line number Diff line change 37
37
<!-- This bridge also support SLF4J 2.x -->
38
38
org.slf4j.*;version="${slf4j.support.range} "
39
39
</bnd-extra-package-options >
40
- <bnd-extra-module-options >
41
- <!-- The module descriptor is in `META-INF/versions/9`
42
- BND 6.x can not find it -->
43
- org.slf4j;substitute="slf4j-api"
44
- </bnd-extra-module-options >
45
40
</properties >
46
41
<dependencies >
47
42
<dependency >
Original file line number Diff line number Diff line change 36
36
-->
37
37
<bnd-extra-module-options >
38
38
<!-- Filebased module names: MUST be static -->
39
- javax.servlet.api;substitute="javax.servlet-api";transitive=true ;static=true
39
+ javax.servlet.api;substitute="javax.servlet-api";transitive=false ;static=true
40
40
</bnd-extra-module-options >
41
41
<Fragment-Host >org.apache.logging.log4j.core</Fragment-Host >
42
42
</properties >
You can’t perform that action at this time.
0 commit comments