Author: ningjiang
Date: Fri Mar 19 08:57:47 2010
New Revision: 925145
URL: http://svn.apache.org/viewvc?rev=925145&view=rev
Log:
CAMEL-2541 Added feature.xml for camel-example-http-async
Added:
camel/trunk/examples/camel-example-http-async/src/main/resources/features.xml
(with props)
Modified:
camel/trunk/examples/camel-example-http-async/pom.xml
Modified: camel/trunk/examples/camel-example-http-async/pom.xml
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-http-async/pom.xml?rev=925145&r1=925144&r2=925145&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-http-async/pom.xml (original)
+++ camel/trunk/examples/camel-example-http-async/pom.xml Fri Mar 19 08:57:47
2010
@@ -81,8 +81,49 @@
</properties>
</profile>
</profiles>
+
<build>
- <plugins>
+ <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 compile exec:java' -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
Added:
camel/trunk/examples/camel-example-http-async/src/main/resources/features.xml
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-http-async/src/main/resources/features.xml?rev=925145&view=auto
==============================================================================
---
camel/trunk/examples/camel-example-http-async/src/main/resources/features.xml
(added)
+++
camel/trunk/examples/camel-example-http-async/src/main/resources/features.xml
Fri Mar 19 08:57:47 2010
@@ -0,0 +1,27 @@
+<?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='camel-example-http-async' version='${pom.version}'>
+ <feature version="${pom.version}">camel</feature>
+ <feature version="${pom.version}">camel-jetty</feature>
+
<bundle>mvn:org.apache.camel/camel-example-http-async/${pom.version}</bundle>
+ </feature>
+
+</features>
\ No newline at end of file
Propchange:
camel/trunk/examples/camel-example-http-async/src/main/resources/features.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
camel/trunk/examples/camel-example-http-async/src/main/resources/features.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange:
camel/trunk/examples/camel-example-http-async/src/main/resources/features.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml