You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2013/01/18 10:32:26 UTC
svn commit: r1435061 - in /camel/trunk: apache-camel/pom.xml
examples/camel-example-sql/ examples/camel-example-sql/pom.xml
examples/camel-example-sql/src/main/resources/features.xml parent/pom.xml
Author: davsclaus
Date: Fri Jan 18 09:32:26 2013
New Revision: 1435061
URL: http://svn.apache.org/viewvc?rev=1435061&view=rev
Log:
New example for using SQL component
Added:
camel/trunk/examples/camel-example-sql/src/main/resources/features.xml (with props)
Modified:
camel/trunk/apache-camel/pom.xml
camel/trunk/examples/camel-example-sql/ (props changed)
camel/trunk/examples/camel-example-sql/pom.xml
camel/trunk/parent/pom.xml
Modified: camel/trunk/apache-camel/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/apache-camel/pom.xml?rev=1435061&r1=1435060&r2=1435061&view=diff
==============================================================================
--- camel/trunk/apache-camel/pom.xml (original)
+++ camel/trunk/apache-camel/pom.xml Fri Jan 18 09:32:26 2013
@@ -638,6 +638,10 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-example-spring-xquery</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-example-sql</artifactId>
+ </dependency>
<dependency>
Propchange: camel/trunk/examples/camel-example-sql/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Jan 18 09:32:26 2013
@@ -0,0 +1,18 @@
+.pmd
+.checkstyle
+.ruleset
+target
+.settings
+.classpath
+.project
+.wtpmodules
+prj.el
+.jdee_classpath
+.jdee_sources
+velocity.log
+eclipse-classes
+derby.log
+*.ipr
+*.iml
+*.iws
+*.idea
Modified: camel/trunk/examples/camel-example-sql/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-sql/pom.xml?rev=1435061&r1=1435060&r2=1435061&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-sql/pom.xml (original)
+++ camel/trunk/examples/camel-example-sql/pom.xml Fri Jan 18 09:32:26 2013
@@ -33,6 +33,8 @@
<properties>
<camel.osgi.export.pkg>org.apache.camel.example.sql.*</camel.osgi.export.pkg>
+ <!-- dynamic import for the Derby JDBC driver -->
+ <camel.osgi.dynamic>*</camel.osgi.dynamic>
</properties>
<dependencies>
@@ -57,10 +59,6 @@
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.derby</groupId>
- <artifactId>derby</artifactId>
- </dependency>
<!-- logging -->
<dependency>
Added: camel/trunk/examples/camel-example-sql/src/main/resources/features.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-sql/src/main/resources/features.xml?rev=1435061&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-sql/src/main/resources/features.xml (added)
+++ camel/trunk/examples/camel-example-sql/src/main/resources/features.xml Fri Jan 18 09:32:26 2013
@@ -0,0 +1,30 @@
+<?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/${project.version}/xml/features</repository>
+
+ <feature name="camel-example-sql" version="${project.version}">
+ <feature version="${project.version}">camel</feature>
+ <feature version="${project.version}">camel-spring</feature>
+ <feature version="${project.version}">camel-sql</feature>
+ <bundle>mvn:org.apache.derby/derby/${derby-version}</bundle>
+ <bundle>mvn:commons-dbcp/commons-dbcp/${commons-dbcp-bundle-version}</bundle>
+ <bundle>mvn:org.apache.camel/camel-example-sql/${project.version}</bundle>
+ </feature>
+
+</features>
\ No newline at end of file
Propchange: camel/trunk/examples/camel-example-sql/src/main/resources/features.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: camel/trunk/examples/camel-example-sql/src/main/resources/features.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: camel/trunk/examples/camel-example-sql/src/main/resources/features.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: camel/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?rev=1435061&r1=1435060&r2=1435061&view=diff
==============================================================================
--- camel/trunk/parent/pom.xml (original)
+++ camel/trunk/parent/pom.xml Fri Jan 18 09:32:26 2013
@@ -1265,6 +1265,11 @@
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
+ <artifactId>camel-example-sql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
<artifactId>camel-example-tracer</artifactId>
<version>${project.version}</version>
</dependency>