Tuesday, December 6, 2011

svn commit: r1210981 - in /labs/magnet: features/ features/pom.xml features/src/ features/src/main/ features/src/main/resources/ features/src/main/resources/features.xml pom.xml

Author: hadrian
Date: Tue Dec 6 15:26:31 2011
New Revision: 1210981

URL: http://svn.apache.org/viewvc?rev=1210981&view=rev
Log:
Add subproject to support osgi features

Added:
labs/magnet/features/
labs/magnet/features/pom.xml
labs/magnet/features/src/
labs/magnet/features/src/main/
labs/magnet/features/src/main/resources/
labs/magnet/features/src/main/resources/features.xml
Modified:
labs/magnet/pom.xml

Added: labs/magnet/features/pom.xml
URL: http://svn.apache.org/viewvc/labs/magnet/features/pom.xml?rev=1210981&view=auto
==============================================================================
--- labs/magnet/features/pom.xml (added)
+++ labs/magnet/features/pom.xml Tue Dec 6 15:26:31 2011
@@ -0,0 +1,83 @@
+<?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.labs.magnet</groupId>
+ <artifactId>magnet</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <relativePath>../magnet</relativePath>
+ </parent>
+
+ <groupId>org.apache.labs.magnet</groupId>
+ <artifactId>osgi</artifactId>
+ <packaging>pom</packaging>
+ <name>Magnet :: Application :: Features</name>
+
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </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>
+ <classifier>features</classifier>
+ <type>xml</type>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>

Added: labs/magnet/features/src/main/resources/features.xml
URL: http://svn.apache.org/viewvc/labs/magnet/features/src/main/resources/features.xml?rev=1210981&view=auto
==============================================================================
--- labs/magnet/features/src/main/resources/features.xml (added)
+++ labs/magnet/features/src/main/resources/features.xml Tue Dec 6 15:26:31 2011
@@ -0,0 +1,29 @@
+<?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.
+-->
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">
+
+ <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
+
+ <feature name='magnet' version='${project.version}' resolver='(obr)'>
+ <feature version="${camel.version}">camel-core</feature>
+ <feature version="${activemq.version}">activemq</feature>
+ </feature>
+
+</features>
+

Modified: labs/magnet/pom.xml
URL: http://svn.apache.org/viewvc/labs/magnet/pom.xml?rev=1210981&r1=1210980&r2=1210981&view=diff
==============================================================================
--- labs/magnet/pom.xml (original)
+++ labs/magnet/pom.xml Tue Dec 6 15:26:31 2011
@@ -64,6 +64,7 @@
<module>magnet</module>
<module>core</module>
<module>birdie</module>
+ <module>features</module>

<module>graffiti</module>
<module>emporium</module>

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org

No comments:

Post a Comment