DOSGI-127 Optimize distros and feature
authorChristian Schneider <cschneider@apache.org>
Wed, 28 Nov 2012 17:13:39 +0000 (17:13 +0000)
committerChristian Schneider <cschneider@apache.org>
Wed, 28 Nov 2012 17:13:39 +0000 (17:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/cxf/dosgi/trunk@1414826 13f79535-47bb-0310-9956-ffa450edef68

distribution/features/src/main/resources/features.xml
distribution/multi-bundle/pom.xml
distribution/multi-bundle/src/main/resources/distro_bundles.xml
dsw/cxf-dsw/pom.xml
dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/qos/DefaultIntentMapFactory.java

index fee2d2a..7dec62a 100644 (file)
@@ -3,7 +3,11 @@
     <repository>mvn:org.apache.cxf.karaf/apache-cxf/2.7.0/xml/features</repository>
 
     <feature name="cxf-dosgi-core" version="${project.version}">
-        <feature>cxf</feature>
+        <feature>cxf-specs</feature>
+        <feature>cxf-jaxws</feature>
+        <feature>cxf-jaxrs</feature>
+        <feature>cxf-databinding-aegis</feature>
+        <feature>cxf-http-jetty</feature>
         <bundle>mvn:org.osgi/org.osgi.enterprise/4.2.0</bundle>        
         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jdom/1.1_3</bundle>
         <bundle>mvn:${project.groupId}/cxf-dosgi-ri-topology-manager/${project.version}</bundle>
index 4c84a19..611e9d4 100644 (file)
             <artifactId>org.apache.servicemix.bundles.joda-time</artifactId>
             <version>1.5.2_4</version>
         </dependency>
-        <dependency>
-            <groupId>org.apache.servicemix.bundles</groupId>
-            <artifactId>org.apache.servicemix.bundles.opensaml</artifactId>
-            <version>2.4.1_1</version>
-        </dependency>
 
         <dependency>
             <groupId>org.apache.aries</groupId>
index 157b53c..3c33029 100644 (file)
@@ -32,7 +32,6 @@
   <bundle>cxf-dosgi-ri-multibundle-distribution-${project.version}-dir/apache-cxf-dosgi-ri-${project.version}/dosgi_bundles/org.apache.servicemix.specs.jaxws-api-2.2-${servicemix.specs.version}.jar</bundle>
   <bundle>cxf-dosgi-ri-multibundle-distribution-${project.version}-dir/apache-cxf-dosgi-ri-${project.version}/dosgi_bundles/org.apache.servicemix.specs.jsr339-api-m10-${servicemix.specs.version}.jar</bundle>
   <bundle>cxf-dosgi-ri-multibundle-distribution-${project.version}-dir/apache-cxf-dosgi-ri-${project.version}/dosgi_bundles/org.apache.servicemix.bundles.joda-time-1.5.2_4.jar</bundle>
-  <bundle>cxf-dosgi-ri-multibundle-distribution-${project.version}-dir/apache-cxf-dosgi-ri-${project.version}/dosgi_bundles/org.apache.servicemix.bundles.opensaml-2.4.1_1.jar</bundle>
   <bundle>cxf-dosgi-ri-multibundle-distribution-${project.version}-dir/apache-cxf-dosgi-ri-${project.version}/dosgi_bundles/org.apache.aries.util-0.3.1.jar</bundle>
   <bundle>cxf-dosgi-ri-multibundle-distribution-${project.version}-dir/apache-cxf-dosgi-ri-${project.version}/dosgi_bundles/org.apache.aries.proxy-0.3.1.jar</bundle>
   <bundle>cxf-dosgi-ri-multibundle-distribution-${project.version}-dir/apache-cxf-dosgi-ri-${project.version}/dosgi_bundles/org.apache.aries.blueprint-0.3.2.jar</bundle>
index 4bb50e6..2251339 100644 (file)
@@ -33,7 +33,6 @@
     <properties>
         <topDirectoryLocation>../..</topDirectoryLocation>
         <bundle.import.package>
-            org.apache.cxf.ws.policy.*,
             org.osgi.service.remoteserviceadmin;version="[${remote.service.admin.interfaces.version},2.0)",
             javax.servlet*;version="[0.0,4)",
             javax.xml.ws*;version="[2.1,3)",
index 156a3c5..23ecda9 100644 (file)
@@ -26,13 +26,10 @@ import org.apache.cxf.binding.soap.Soap12;
 import org.apache.cxf.binding.soap.SoapBindingConfiguration;
 import org.apache.cxf.binding.soap.SoapVersion;
 import org.apache.cxf.feature.LoggingFeature;
-import org.apache.cxf.ws.policy.WSPolicyFeature;
-import org.apache.neethi.Policy;
 
 public class DefaultIntentMapFactory {
     public Map<String, Object> create() {
         Map<String,Object> intentMap = new HashMap<String, Object>();
-        intentMap.put("addressing", getNonDecoupledAddressing());
         intentMap.put("logging", getLoggingFeature());
         Object soap11 = getSoapBinding(Soap11.getInstance());
         intentMap.put("SOAP", soap11);
@@ -42,12 +39,6 @@ public class DefaultIntentMapFactory {
         return intentMap;
     }
 
-    private Object getNonDecoupledAddressing() {
-        Policy wsAddressing = new Policy();
-        WSPolicyFeature wsPolicy = new WSPolicyFeature(wsAddressing );
-        return wsPolicy;
-    }
-    
     private Object getLoggingFeature() {
         return new LoggingFeature();
     }