You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2019/03/11 00:48:37 UTC

[cxf-xjc-utils] branch master updated: [CXF-7993]cxf-xjc-runtime bundle couldn't be installed onto OSGi container when JDK 1.8

This is an automated email from the ASF dual-hosted git repository.

ffang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf-xjc-utils.git


The following commit(s) were added to refs/heads/master by this push:
     new e8ae021  [CXF-7993]cxf-xjc-runtime bundle couldn't be installed onto OSGi container when JDK 1.8
e8ae021 is described below

commit e8ae021a6b60992fc6baf0e29a8bc71b6079da6e
Author: Freeman Fang <fr...@gmail.com>
AuthorDate: Mon Mar 11 08:48:25 2019 +0800

    [CXF-7993]cxf-xjc-runtime bundle couldn't be installed onto OSGi container when JDK 1.8
---
 runtime/pom.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/runtime/pom.xml b/runtime/pom.xml
index 7c0f6f2..32efcb3 100644
--- a/runtime/pom.xml
+++ b/runtime/pom.xml
@@ -34,6 +34,10 @@
                     <instructions>
                         <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
                         <Bundle-Description>${project.decription}</Bundle-Description>
+                        <Import-Package>
+                            javax.xml.bind*;version="[2,3)",
+                            *
+                        </Import-Package>
                     </instructions>
                 </configuration>
             </plugin>