You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2015/11/19 11:03:01 UTC

svn commit: r1715140 - /sling/trunk/contrib/launchpad/karaf/org.apache.sling.launchpad.karaf-distribution/pom.xml

Author: olli
Date: Thu Nov 19 10:03:01 2015
New Revision: 1715140

URL: http://svn.apache.org/viewvc?rev=1715140&view=rev
Log:
SLING-4869 provide a Karaf-based distribution

add libraries to configuration to be more like default Karaf distribution

Modified:
    sling/trunk/contrib/launchpad/karaf/org.apache.sling.launchpad.karaf-distribution/pom.xml

Modified: sling/trunk/contrib/launchpad/karaf/org.apache.sling.launchpad.karaf-distribution/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/launchpad/karaf/org.apache.sling.launchpad.karaf-distribution/pom.xml?rev=1715140&r1=1715139&r2=1715140&view=diff
==============================================================================
--- sling/trunk/contrib/launchpad/karaf/org.apache.sling.launchpad.karaf-distribution/pom.xml (original)
+++ sling/trunk/contrib/launchpad/karaf/org.apache.sling.launchpad.karaf-distribution/pom.xml Thu Nov 19 10:03:01 2015
@@ -35,6 +35,15 @@
   <name>Apache Sling Launchpad Karaf - Distribution</name>
   <description>Apache Sling Launchpad Karaf Distribution</description>
 
+  <!-- https://github.com/apache/karaf/blob/master/assemblies/apache-karaf/pom.xml -->
+
+  <properties>
+    <servicemix.specs.version>2.5.0</servicemix.specs.version>
+    <xerces.version>2.11.0</xerces.version>
+    <xalan.bundle.version>2.7.2_2</xalan.bundle.version>
+    <xalan-serializer.bundle.version>2.7.2_1</xalan-serializer.bundle.version>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.karaf.features</groupId>
@@ -184,6 +193,22 @@
             <feature>webconsole</feature>
             <feature>eventadmin</feature>
           </bootFeatures>
+          <libraries>
+            <library>xerces-${xerces.version}.jar;url:="wrap:mvn:xerces/xercesImpl/${xerces.version}$Export-Package=org.apache.*;version=${xerces.version}";type:=endorsed;export:=true;delegate:=true</library>
+
+            <library>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxp-api-1.4/${servicemix.specs.version};type:=endorsed;export:=true</library>
+            <library>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.2/${servicemix.specs.version};type:=endorsed;export:=true</library>
+            <library>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxws-api-2.2/${servicemix.specs.version};type:=endorsed;export:=true</library>
+            <library>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.saaj-api-1.3/${servicemix.specs.version};type:=endorsed;export:=true</library>
+            <library>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/${servicemix.specs.version};type:=endorsed;export:=true</library>
+            <library>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.2/${servicemix.specs.version};type:=endorsed;export:=true</library>
+            <library>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan/${xalan.bundle.version};type:=endorsed;export:=true</library>
+            <library>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan-serializer/${xalan-serializer.bundle.version};type:=endorsed;export:=true</library>
+            <library>mvn:javax.annotation/javax.annotation-api/1.2;type:=endorsed;export:=true</library>
+
+            <library>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activator/${servicemix.specs.version};type:=default;export:=true</library>
+            <library>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.locator/${servicemix.specs.version};type:=default;export:=true</library>
+          </libraries>
         </configuration>
       </plugin>
     </plugins>