Skip to content

Commit d3136f5

Browse files
committed
Merge pull request #47 from javabits/34
Fix issue #34: OSGI import statement version range management
2 parents 373b2b7 + a807ca1 commit d3136f5

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

pom.xml

+2-16
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,8 @@ Joda (http://joda-time.sourceforge.net/) data types.
2929
<packageVersion.package>${project.groupId}.joda</packageVersion.package>
3030

3131
<!-- Configuration properties for the OSGi maven-bundle-plugin -->
32-
<osgi.import>com.fasterxml.jackson.annotation
33-
,com.fasterxml.jackson.core
34-
,com.fasterxml.jackson.core.util
35-
,com.fasterxml.jackson.databind
36-
,com.fasterxml.jackson.databind.deser.std
37-
,com.fasterxml.jackson.databind.introspect
38-
,com.fasterxml.jackson.databind.jsontype
39-
,com.fasterxml.jackson.databind.module
40-
,com.fasterxml.jackson.databind.node
41-
,com.fasterxml.jackson.databind.ser
42-
,com.fasterxml.jackson.databind.ser.std
43-
,org.joda.time
44-
,org.joda.time.format
45-
</osgi.import>
46-
<osgi.export>${project.groupId}.joda.*;version=${project.version}
47-
</osgi.export>
32+
<osgi.export>${project.groupId}.joda.*</osgi.export>
33+
<osgi.versionpolicy>${range;[===,+);${@}}</osgi.versionpolicy>
4834
</properties>
4935

5036
<dependencies>

0 commit comments

Comments
 (0)