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 2014/04/28 05:10:55 UTC
[3/3] git commit: CAMEL-7397 Support to deploy the
camel-example-spring-javaconfig into Karaf
CAMEL-7397 Support to deploy the camel-example-spring-javaconfig into Karaf
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/e801ea44
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/e801ea44
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/e801ea44
Branch: refs/heads/master
Commit: e801ea44f27e6d21b8cb133670968528754d30d2
Parents: 9207ab7
Author: Willem Jiang <wi...@gmail.com>
Authored: Mon Apr 28 11:09:32 2014 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Mon Apr 28 11:09:32 2014 +0800
----------------------------------------------------------------------
examples/camel-example-spring-javaconfig/pom.xml | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/e801ea44/examples/camel-example-spring-javaconfig/pom.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-spring-javaconfig/pom.xml b/examples/camel-example-spring-javaconfig/pom.xml
index bf8b513..ff8684d 100644
--- a/examples/camel-example-spring-javaconfig/pom.xml
+++ b/examples/camel-example-spring-javaconfig/pom.xml
@@ -25,12 +25,21 @@
</parent>
<artifactId>camel-example-spring-javaconfig</artifactId>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
<name>Camel :: Example :: Spring :: JavaConfig</name>
<description>An example showing how to work with Camel and Spring Java Config</description>
<properties>
<junit-version>4.8.1</junit-version>
+ <camel.osgi.export.pkg>org.apache.camel.example.spring.javaconfig</camel.osgi.export.pkg>
+ <!--We need to import the cglib packages here, and spring-core 3.2.x includes cglib -->
+ <!--If the spring version is below 3.2.x, the import package should be changed to start with org.sf -->
+ <camel.osgi.import>
+ org.springframework.cglib.core,
+ org.springframework.cglib.proxy,
+ org.springframework.cglib.reflect,
+ *
+ </camel.osgi.import>
</properties>
<dependencies>