Skip to content

Commit

Permalink
Modify OSGi Jackson requirement to be compatible with GF 5.1
Browse files Browse the repository at this point in the history
Signed-off-by: jansupol <jan.supol@oracle.com>
  • Loading branch information
jansupol authored and senivam committed Dec 18, 2020
1 parent 3996617 commit 872daff
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions media/json-jackson/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -77,7 +77,12 @@
<configuration>
<instructions>
<Export-Package>org.glassfish.jersey.jackson.*</Export-Package>
<Import-Package>${javax.annotation.osgi.version},*</Import-Package>
<Import-Package>
${javax.annotation.osgi.version},
<!-- compatibility with GF 5.1 -->
com.fasterxml.jackson.*;version="[2.9,3)",
*
</Import-Package>
</instructions>
<unpackBundle>true</unpackBundle>
</configuration>
Expand Down

0 comments on commit 872daff

Please sign in to comment.