File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 31
31
<name >Maven Artifact Resolver Implementation</name >
32
32
<description >An implementation of the repository system.</description >
33
33
34
+ <properties >
35
+ <bnd .instructions.additions><![CDATA[
36
+ # Mark optional Maven dependencies as optional
37
+ Import-Package: \
38
+ org.slf4j.spi;version="[1.7,3)", \
39
+ javax.inject;resolution:=optional,\
40
+ com.google.inject*;resolution:=optional, \
41
+ org.eclipse.sisu*;resolution:=optional, \
42
+ *
43
+ ]]> </bnd .instructions.additions>
44
+ </properties >
45
+
34
46
<dependencies >
35
47
<dependency >
36
48
<groupId >org.apache.maven.resolver</groupId >
Original file line number Diff line number Diff line change 476
476
Automatic-Module-Name: ${Bundle-SymbolicName}
477
477
# Export packages not containing the substring 'internal'
478
478
-exportcontents: ${removeall;${packages};${packages;NAMED;*internal*}}
479
+ # Mark optional Maven dependencies as optional
480
+ Import-Package: \
481
+ javax.inject*;resolution:=optional, \
482
+ *
479
483
# Reproducible build
480
484
-noextraheaders: true
481
485
${bnd.instructions.additions}
You can’t perform that action at this time.
0 commit comments