Author: jbonofre
Date: Wed Aug  1 19:39:50 2012
New Revision: 1368215

URL: http://svn.apache.org/viewvc?rev=1368215&view=rev
Log:
[MRM-1651] Add redback-core Karaf features descriptor

Added:
    archiva/redback/redback-core/trunk/redback-features/
    archiva/redback/redback-core/trunk/redback-features/pom.xml
    archiva/redback/redback-core/trunk/redback-features/src/
    archiva/redback/redback-core/trunk/redback-features/src/main/
    archiva/redback/redback-core/trunk/redback-features/src/main/resources/
    
archiva/redback/redback-core/trunk/redback-features/src/main/resources/features.xml
Modified:
    archiva/redback/redback-core/trunk/pom.xml

Modified: archiva/redback/redback-core/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/pom.xml?rev=1368215&r1=1368214&r2=1368215&view=diff
==============================================================================
--- archiva/redback/redback-core/trunk/pom.xml (original)
+++ archiva/redback/redback-core/trunk/pom.xml Wed Aug  1 19:39:50 2012
@@ -53,6 +53,7 @@
     <module>redback-users</module>
     <module>redback-data-management</module>
     <module>redback-integrations</module>
+    <module>redback-features</module>
   </modules>
 
   <scm>

Added: archiva/redback/redback-core/trunk/redback-features/pom.xml
URL: 
http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-features/pom.xml?rev=1368215&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-features/pom.xml (added)
+++ archiva/redback/redback-core/trunk/redback-features/pom.xml Wed Aug  1 
19:39:50 2012
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ 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.
+  -->
+<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";>
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.archiva.redback</groupId>
+    <artifactId>redback</artifactId>
+    <version>2.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>redback-core</artifactId>
+  <packaging>pom</packaging>
+  <name>Redback :: Karaf Features</name>
+
+  <properties>
+    <javax-inject.bundle.version>1_2</javax-inject.bundle.version>
+  </properties>
+
+  <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+        <includes>
+          <include>**/*</include>
+        </includes>
+      </resource>
+    </resources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <configuration>
+          <useDefaultDelimiters>false</useDefaultDelimiters>
+          <delimiters>
+            <delimiter>${*}</delimiter>
+          </delimiters>
+        </configuration>
+        <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>
+        <version>1.7</version>
+        <executions>
+          <execution>
+            <id>attach-artifact</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>
\ No newline at end of file

Added: 
archiva/redback/redback-core/trunk/redback-features/src/main/resources/features.xml
URL: 
http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-features/src/main/resources/features.xml?rev=1368215&view=auto
==============================================================================
--- 
archiva/redback/redback-core/trunk/redback-features/src/main/resources/features.xml
 (added)
+++ 
archiva/redback/redback-core/trunk/redback-features/src/main/resources/features.xml
 Wed Aug  1 19:39:50 2012
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+   Licensed 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.
+-->
+<features name="redback-core-${project.version}" 
xmlns="http://karaf.apache.org/xmlns/features/v1.0.0";>
+
+  <feature name="redback-configuration" version="${project.version}" 
resolver="(obr)">
+    <bundle 
dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/${javax-inject.bundle.version}</bundle>
+    
<bundle>mvn:org.apache.archiva.redback/redback-configuration/${project.version}</bundle>
+  </feature>
+
+  <feature name="redback-policy" version="${project.version}" resolver="(obr)">
+    <feature version="${project.version}">redback-configuration</feature>
+    <bundle 
dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/${javax-inject.bundle.version}</bundle>
+    
<bundle>mvn:org.apache.archiva.redback/redback-policy/${project.version}</bundle>
+  </feature>
+
+  <feature name="redback-authentication-api" version="${project.version}" 
resolver="(obr)">
+    <feature version="${project.version}">redback-policy</feature>
+    <bundle 
dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/${javax-inject.bundle.version}</bundle>
+    
<bundle>mvn:org.apache.archiva.redback/redback-authentication-api/${project.version}</bundle>
+  </feature>
+
+  <feature name="redback-authentication-ldap" version="${project.version}" 
resolver="(obr)">
+    <feature version="${project.version}">redback-authentication-api</feature>
+    
<bundle>mvn:org.apache.archiva.redback/redback-authentication-ldap/${project.version}</bundle>
+  </feature>
+
+  <feature name="redback-authentication-memory" version="${project.version}" 
resolver="(obr)">
+    <feature version="${project.version}">redback-authentication-api</feature>
+    
<bundle>mvn:org.apache.archiva.redback/redback-authentication-memory/${project.version}</bundle>
+  </feature>
+
+  <feature name="redback-authentication-open" version="${project.version}" 
resolver="(obr)">
+    <feature version="${project.version}">redback-authentication-api</feature>
+    
<bundle>mvn:org.apache.archiva.redback/redback-authentication-open/${project.version}</bundle>
+  </feature>
+
+</features>
\ No newline at end of file


Reply via email to