Author: cschneider
Date: Mon Oct 29 08:26:24 2012
New Revision: 1403193

URL: http://svn.apache.org/viewvc?rev=1403193&view=rev
Log:
DOSGI-133 Create karaf feature file for cxf-dosgi

Added:
    cxf/dosgi/trunk/distribution/features/   (with props)
    cxf/dosgi/trunk/distribution/features/pom.xml   (with props)
    cxf/dosgi/trunk/distribution/features/src/
    cxf/dosgi/trunk/distribution/features/src/main/
    cxf/dosgi/trunk/distribution/features/src/main/resources/
    cxf/dosgi/trunk/distribution/features/src/main/resources/features.xml   
(with props)
Modified:
    cxf/dosgi/trunk/distribution/pom.xml

Propchange: cxf/dosgi/trunk/distribution/features/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Oct 29 08:26:24 2012
@@ -0,0 +1,5 @@
+target
+
+.settings
+
+.project

Added: cxf/dosgi/trunk/distribution/features/pom.xml
URL: 
http://svn.apache.org/viewvc/cxf/dosgi/trunk/distribution/features/pom.xml?rev=1403193&view=auto
==============================================================================
--- cxf/dosgi/trunk/distribution/features/pom.xml (added)
+++ cxf/dosgi/trunk/distribution/features/pom.xml Mon Oct 29 08:26:24 2012
@@ -0,0 +1,89 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>cxf-dosgi</artifactId>
+  <packaging>pom</packaging>
+  <name>CXF DOSGI Karaf Features</name>
+  <url>http://cxf.apache.org</url>
+
+  <parent>
+    <groupId>org.apache.cxf.dosgi</groupId>
+    <artifactId>cxf-dosgi-ri-distribution-parent</artifactId>
+    <version>1.4-SNAPSHOT</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+
+  <properties>
+    <dosgi.version>${project.version}</dosgi.version>
+    <topDirectoryLocation>../..</topDirectoryLocation>
+  </properties>
+
+  <build>
+               <resources>
+                       <resource>
+                               
<directory>${project.basedir}/src/main/resources</directory>
+                               <filtering>true</filtering>
+                               <includes>
+                                       <include>**/features.xml</include>
+                                       <include>**/*.cfg</include>
+                                       <include>**/*.properties</include>
+                               </includes>
+                       </resource>
+               </resources>
+               <plugins>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-resources-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>filter</id>
+                                               
<phase>generate-resources</phase>
+                                               <goals>
+                                                       <goal>resources</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               
<artifactId>build-helper-maven-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>attach-artifacts</id>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       
<goal>attach-artifact</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <artifacts>
+                                                               <artifact>
+                                                                       
<file>target/classes/features.xml</file>
+                                                                       
<type>xml</type>
+                                    <classifier>features</classifier>
+                                                               </artifact>
+                                                       </artifacts>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+               </plugins>
+       </build>
+</project>

Propchange: cxf/dosgi/trunk/distribution/features/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/dosgi/trunk/distribution/features/src/main/resources/features.xml
URL: 
http://svn.apache.org/viewvc/cxf/dosgi/trunk/distribution/features/src/main/resources/features.xml?rev=1403193&view=auto
==============================================================================
--- cxf/dosgi/trunk/distribution/features/src/main/resources/features.xml 
(added)
+++ cxf/dosgi/trunk/distribution/features/src/main/resources/features.xml Mon 
Oct 29 08:26:24 2012
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0";>
+    
<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>
+        <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>
+        
<bundle>mvn:${project.groupId}/cxf-dosgi-ri-dsw-cxf/${project.version}</bundle>
+    </feature>
+    
+    <feature name="cxf-dosgi-discovery-local" version="${project.version}">
+        <feature>cxf-dosgi-core</feature>
+        
<bundle>mvn:${project.groupId}/cxf-dosgi-ri-discovery-local/${project.version}</bundle>
+    </feature>
+
+    <feature name="cxf-dosgi-discovery-distributed" 
version="${project.version}">
+        <feature>cxf-dosgi-core</feature>
+        <bundle>mvn:org.apache.zookeeper/zookeeper/3.3.1</bundle>
+        
<bundle>mvn:${project.groupId}/cxf-dosgi-ri-discovery-local/${project.version}</bundle>
+        
<bundle>mvn:${project.groupId}/cxf-dosgi-ri-discovery-distributed/${project.version}</bundle>
+    </feature>
+    
+    <feature name="cxf-dosgi-zookeeper-server">
+        <bundle>mvn:org.apache.zookeeper/zookeeper/3.3.1</bundle>
+        
<bundle>mvn:${project.groupId}/cxf-dosgi-ri-discovery-distributed-zookeeper-server/${project.version}</bundle>
+    </feature>
+</features>

Propchange: 
cxf/dosgi/trunk/distribution/features/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: cxf/dosgi/trunk/distribution/pom.xml
URL: 
http://svn.apache.org/viewvc/cxf/dosgi/trunk/distribution/pom.xml?rev=1403193&r1=1403192&r2=1403193&view=diff
==============================================================================
--- cxf/dosgi/trunk/distribution/pom.xml (original)
+++ cxf/dosgi/trunk/distribution/pom.xml Mon Oct 29 08:26:24 2012
@@ -38,6 +38,7 @@
     </properties>
 
     <modules>
+      <module>features</module>
       <module>multi-bundle</module>
       <module>single-bundle</module>
       <module>sources</module>


Reply via email to