Skip to content

Commit b484455

Browse files
samebGuice Team
authored and
Guice Team
committed
Minor updates to OSGi metadata. Fixes #1173
PiperOrigin-RevId: 525559200
1 parent bccee9c commit b484455

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pom.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,9 @@ See the Apache License Version 2.0 for the specific language governing permissio
343343
<plugin>
344344
<groupId>org.apache.felix</groupId>
345345
<artifactId>maven-bundle-plugin</artifactId>
346-
<version>3.5.0</version>
346+
<version>5.1.2</version>
347347
<configuration>
348+
<excludeDependencies>jsr305</excludeDependencies>
348349
<instructions>
349350
<module>com.google.inject</module>
350351
<_include>-${project.basedir}/build.properties</_include>
@@ -355,7 +356,7 @@ See the Apache License Version 2.0 for the specific language governing permissio
355356
<Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
356357
<Import-Package>!com.google.inject.*,*</Import-Package>
357358
<_exportcontents>!*.internal.*,$(module).*;version=${guice.api.version}</_exportcontents>
358-
<_versionpolicy>$(version;==;$(@))</_versionpolicy>
359+
<_consumer-policy>$(version;==;$(@))</_consumer-policy>
359360
<_nouses>true</_nouses>
360361
<_removeheaders>
361362
Embed-Dependency,Embed-Transitive,

0 commit comments

Comments
 (0)