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 2021/01/27 18:22:02 UTC

[cxf] branch 3.3.x-fixes updated: [CXF-8416]Using fine-grained Import-Package for com.sun to avoid uncessary imported package

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

ffang pushed a commit to branch 3.3.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/3.3.x-fixes by this push:
     new 9b8be72  [CXF-8416]Using fine-grained Import-Package for com.sun to avoid uncessary imported package
9b8be72 is described below

commit 9b8be7282e716b251aa94cc35ebce0e68447ab0f
Author: Freeman Fang <fr...@gmail.com>
AuthorDate: Wed Jan 27 13:20:39 2021 -0500

    [CXF-8416]Using fine-grained Import-Package for com.sun to avoid uncessary imported package
    
    (cherry picked from commit 1b3296e55205c19727a89476f442b3adab9a731a)
    (cherry picked from commit b3ad6ab5d9456b61d0a2a718c99819000836788b)
---
 core/pom.xml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/core/pom.xml b/core/pom.xml
index af00fe0..4544160 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -41,7 +41,9 @@
         <cxf.osgi.import>
             com.ctc.wstx*;resolution:=optional,
             org.codehaus.stax2*;resolution:=optional,
-            com.sun*;resolution:=optional,
+            com.sun.msv*;resolution:=optional,
+            com.sun.tools*;resolution:=optional,
+            com.sun.xml*;resolution:=optional,
             org.slf4j*;resolution:=optional;version="${cxf.osgi.slf4j.version}",
             org.apache.log4j*;resolution:=optional,
             net.sf.cglib*;resolution:=optional;version="${cxf.cglib.osgi.version}",
@@ -62,7 +64,8 @@
             org.apache.aries*;version="${cxf.aries.version.range}";resolution:=optional,
             org.apache.karaf.jaas.boot.principal;resolution:=optional,
             org.apache.commons.logging;resolution:=optional,
-            !sun.misc
+            !sun.misc,
+            !com.sun.codemodel.writer
         </cxf.osgi.import>
         <cxf.osgi.dynamic.import>
             org.apache.cxf.bus,org.apache.cxf.*,com.ctc.wstx.*,org.apache.karaf.jaas.boot.principal.*