You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2010/03/24 05:55:11 UTC

svn commit: r926932 - in /camel/trunk/examples/camel-example-etl: pom.xml src/main/resources/features.xml

Author: ningjiang
Date: Wed Mar 24 04:55:11 2010
New Revision: 926932

URL: http://svn.apache.org/viewvc?rev=926932&view=rev
Log:
CAMEL-2541 added the features file for camel-example-etl

Added:
    camel/trunk/examples/camel-example-etl/src/main/resources/features.xml   (with props)
Modified:
    camel/trunk/examples/camel-example-etl/pom.xml

Modified: camel/trunk/examples/camel-example-etl/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-etl/pom.xml?rev=926932&r1=926931&r2=926932&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-etl/pom.xml (original)
+++ camel/trunk/examples/camel-example-etl/pom.xml Wed Mar 24 04:55:11 2010
@@ -91,7 +91,47 @@
 	</dependencies>
 
 	<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>
+						<phase>process-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>
 			<!-- Allows the example to be run via 'mvn camel:run' -->
 			<plugin>
 				<groupId>org.apache.camel</groupId>

Added: camel/trunk/examples/camel-example-etl/src/main/resources/features.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-etl/src/main/resources/features.xml?rev=926932&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-etl/src/main/resources/features.xml (added)
+++ camel/trunk/examples/camel-example-etl/src/main/resources/features.xml Wed Mar 24 04:55:11 2010
@@ -0,0 +1,53 @@
+<?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>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${pom.version}/xml/features</repository>
+    <feature name='openjpa-feature' version='${pom.version}'>
+       <bundle>wrap:mvn:hsqldb/hsqldb/1.8.0.7</bundle> 
+       <bundle>mvn:org.eclipse.persistence/javax.persistence/1.2.0</bundle>
+       <bundle>mvn:org.eclipse.persistence/org.eclipse.persistence.antlr/1.2.0</bundle>
+       <bundle>mvn:org.eclipse.persistence/org.eclipse.persistence.asm/1.2.0</bundle>
+       <bundle>mvn:org.eclipse.persistence/org.eclipse.persistence.core/1.2.0</bundle>
+       <bundle>mvn:org.eclipse.persistence/org.eclipse.persistence.jpa/1.2.0</bundle>
+    </feature>
+    
+    <feature name='hibernate-feauture' version='${pom.version'}>
+       <bundle>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.java-persistence-api-1.1.1/1.4.0</bundle>
+       <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/1.2.2_5</bundle>
+       <bundle>mvn:org.springframework/spring-jdbc/2.5.6.SEC01</bundle>
+       <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j/1.6.1_2</bundle>
+       <bundle>mvn:org.antlr/com.springsource.antlr/2.7.7</bundle>
+       <bundle>mvn:org.objectweb.asm/com.springsource.org.objectweb.asm/1.5.3</bundle>
+       <bundle>mvn:net.sourceforge.cglib/com.springsource.net.sf.cglib/2.2.0</bundle>
+       <bundle>mvn:org.jboss.javassist/com.springsource.javassist/3.9.0.GA</bundle>
+       <bundle>mvn:org.hibernate/com.springsource.org.hibernate.annotations.common/3.3.0.ga</bundle>
+       <bundle>mvn:org.hibernate/com.springsource.org.hibernate.annotations/3.4.0.GA</bundle>
+       <bundle>mvn:org.hibernate/com.springsource.org.hibernate.ejb/3.4.0.GA</bundle>
+       <bundle>mvn:org.hibernate/com.springsource.org.hibernate/3.3.2.GA</bundle>
+       <bundle>mvn:org.springframework/spring-orm/2.5.6.SEC01</bundle> 
+    </feature>
+    
+    <feature name='camel-example-etl' version='${pom.version}'>
+        <feature version="${pom.version}">camel</feature>
+        <feature version="${pom.version}">camel-jaxb</feature>
+        <feature version="${pom.version}">camel-jpa</feature>
+        <feature version="${pom.version}">camel-juel</feature>
+        <bundle>mvn:org.apache.camel/camel-example-etl/${pom.version}</bundle>
+    </feature>
+
+</features>
\ No newline at end of file

Propchange: camel/trunk/examples/camel-example-etl/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: camel/trunk/examples/camel-example-etl/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: camel/trunk/examples/camel-example-etl/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml