Polished pom.xml so they dont use huge tabs so the xml is readable. And polished the lic header
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/034f7b04 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/034f7b04 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/034f7b04 Branch: refs/heads/master Commit: 034f7b04948dfa6532f4cb8ad40ed4bfd4236661 Parents: a583dd3 Author: Claus Ibsen <davscl...@apache.org> Authored: Sun Apr 3 09:18:04 2016 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Sun Apr 3 10:03:30 2016 +0200 ---------------------------------------------------------------------- examples/camel-example-activemq-tomcat/pom.xml | 263 ++++++----- examples/camel-example-aggregate/pom.xml | 186 ++++---- examples/camel-example-bam/pom.xml | 55 +-- examples/camel-example-box-osgi/pom.xml | 91 ++-- examples/camel-example-cafe/pom.xml | 32 +- examples/camel-example-cdi-test/pom.xml | 26 +- examples/camel-example-cdi/pom.xml | 26 +- examples/camel-example-console/pom.xml | 5 +- examples/camel-example-cxf-blueprint/pom.xml | 13 +- examples/camel-example-cxf-osgi/pom.xml | 247 +++++----- examples/camel-example-cxf-proxy/pom.xml | 3 +- examples/camel-example-cxf-tomcat/pom.xml | 203 ++++---- examples/camel-example-cxf/pom.xml | 472 ++++++++++--------- examples/camel-example-etl/pom.xml | 82 ++-- examples/camel-example-ftp/pom.xml | 157 +++--- examples/camel-example-guice-jms/pom.xml | 200 ++++---- examples/camel-example-jdbc/pom.xml | 31 +- examples/camel-example-jms-file/pom.xml | 154 +++--- examples/camel-example-jmx/pom.xml | 160 +++---- examples/camel-example-loadbalancing/pom.xml | 173 +++---- examples/camel-example-loan-broker/pom.xml | 378 +++++++-------- examples/camel-example-management/pom.xml | 212 ++++----- examples/camel-example-mybatis/pom.xml | 31 +- .../camel-example-netty-http/myapp-one/pom.xml | 7 +- .../camel-example-netty-http/myapp-two/pom.xml | 7 +- examples/camel-example-netty-http/pom.xml | 112 ++--- .../shared-netty-http-server/pom.xml | 9 +- examples/camel-example-osgi-rmi/pom.xml | 238 +++++----- examples/camel-example-osgi/pom.xml | 148 +++--- examples/camel-example-pojo-messaging/pom.xml | 230 ++++----- .../pom.xml | 329 ++++++------- examples/camel-example-reportincident/pom.xml | 277 +++++------ examples/camel-example-restlet-jdbc/pom.xml | 151 +++--- examples/camel-example-route-throttling/pom.xml | 277 +++++------ .../pom.xml | 7 +- .../pom.xml | 107 ++--- examples/camel-example-servlet-tomcat/pom.xml | 115 ++--- .../camel-example-simplejirabot/javadsl/pom.xml | 23 +- examples/camel-example-simplejirabot/pom.xml | 216 ++++----- .../camel-example-simplejirabot/xmlconf/pom.xml | 23 +- examples/camel-example-spark-rest/pom.xml | 3 +- examples/camel-example-splunk/pom.xml | 3 +- .../camel-example-spring-boot-metrics/pom.xml | 27 +- .../camel-example-spring-boot-starter/pom.xml | 29 +- examples/camel-example-spring-boot/pom.xml | 32 +- .../camel-example-spring-javaconfig/pom.xml | 44 +- examples/camel-example-spring-jms/pom.xml | 279 +++++------ examples/camel-example-spring-security/pom.xml | 160 +++---- examples/camel-example-spring-ws/pom.xml | 175 +++---- examples/camel-example-spring-xquery/pom.xml | 82 ++-- examples/camel-example-spring/pom.xml | 215 ++++----- examples/camel-example-sql-blueprint/pom.xml | 35 +- examples/camel-example-sql/pom.xml | 31 +- examples/camel-example-ssh-security/pom.xml | 36 +- examples/camel-example-ssh/pom.xml | 8 +- examples/camel-example-swagger-cdi/pom.xml | 27 +- examples/camel-example-swagger-xml/pom.xml | 14 +- examples/camel-example-tracer/pom.xml | 28 +- .../pom.xml | 5 +- .../camel-example-twitter-websocket/pom.xml | 5 +- examples/camel-example-zipkin/client/pom.xml | 27 +- examples/camel-example-zipkin/pom.xml | 21 +- examples/camel-example-zipkin/service1/pom.xml | 25 +- examples/camel-example-zipkin/service2/pom.xml | 25 +- examples/pom.xml | 170 +++---- 65 files changed, 3545 insertions(+), 3437 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/034f7b04/examples/camel-example-activemq-tomcat/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-activemq-tomcat/pom.xml b/examples/camel-example-activemq-tomcat/pom.xml index aea4a30..c6bb9d8 100755 --- a/examples/camel-example-activemq-tomcat/pom.xml +++ b/examples/camel-example-activemq-tomcat/pom.xml @@ -15,136 +15,137 @@ 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.camel</groupId> - <artifactId>examples</artifactId> - <version>2.18-SNAPSHOT</version> - </parent> - - <artifactId>camel-example-activemq-tomcat</artifactId> - <name>Camel :: Example :: ActiveMQ :: Tomcat</name> - <description>An example using ActiveMQ Broker and Camel with Apache Tomcat</description> - <packaging>war</packaging> - - <build> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>tomcat-maven-plugin</artifactId> - <configuration> - <server>myTomcat</server> - <url>${tomcat.url}</url> - <path>/${project.build.finalName}</path> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <configuration> - <mainClass>org.apache.camel.example.cxf.CamelRouteClient</mainClass> - <includePluginDependencies>false</includePluginDependencies> - <systemProperties> - <property> - <key>java.util.logging.config.file</key> - <value>logging.properties</value> - </property> - </systemProperties> - </configuration> - </plugin> - </plugins> - <!-- Name of the generated WAR file --> - <finalName>camel-example-activemq-tomcat</finalName> - </build> - - <dependencies> - - <!-- camel --> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-core</artifactId> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-spring</artifactId> - </dependency> - - <!-- we use spring web to kick-start the application in web.xml --> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-web</artifactId> - </dependency> - - <!-- camel jms and activemq --> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-jms</artifactId> - </dependency> - <dependency> - <groupId>org.apache.activemq</groupId> - <artifactId>activemq-camel</artifactId> - </dependency> - - <!-- embed ActiveMQ broker --> - <dependency> - <groupId>org.apache.activemq</groupId> - <artifactId>activemq-broker</artifactId> - </dependency> - <dependency> - <groupId>org.apache.activemq</groupId> - <artifactId>activemq-spring</artifactId> - </dependency> - <dependency> - <groupId>org.apache.activemq</groupId> - <artifactId>activemq-kahadb-store</artifactId> - </dependency> - - <!-- ActiveMQ client --> - <dependency> - <groupId>org.apache.activemq</groupId> - <artifactId>activemq-client</artifactId> - </dependency> - <dependency> - <groupId>org.apache.activemq</groupId> - <artifactId>activemq-pool</artifactId> - </dependency> - - <!-- xbean is required for ActiveMQ broker configuration in the spring xml file --> - <dependency> - <groupId>org.apache.xbean</groupId> - <artifactId>xbean-spring</artifactId> - </dependency> - - <!-- logging --> - <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - </dependency> - </dependencies> - - <profiles> - <profile> - <id>Tomcat7</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <properties> - <tomcat.url>http://localhost:8080/manager/text</tomcat.url> - </properties> - </profile> - <profile> - <id>Tomcat6</id> - <properties> - <tomcat.url>http://localhost:8080/manager</tomcat.url> - </properties> - </profile> - </profiles> +<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.camel</groupId> + <artifactId>examples</artifactId> + <version>2.18-SNAPSHOT</version> + </parent> + + <artifactId>camel-example-activemq-tomcat</artifactId> + <name>Camel :: Example :: ActiveMQ :: Tomcat</name> + <description>An example using ActiveMQ Broker and Camel with Apache Tomcat</description> + <packaging>war</packaging> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>tomcat-maven-plugin</artifactId> + <configuration> + <server>myTomcat</server> + <url>${tomcat.url}</url> + <path>/${project.build.finalName}</path> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <configuration> + <mainClass>org.apache.camel.example.cxf.CamelRouteClient</mainClass> + <includePluginDependencies>false</includePluginDependencies> + <systemProperties> + <property> + <key>java.util.logging.config.file</key> + <value>logging.properties</value> + </property> + </systemProperties> + </configuration> + </plugin> + </plugins> + <!-- Name of the generated WAR file --> + <finalName>camel-example-activemq-tomcat</finalName> + </build> + + <dependencies> + + <!-- camel --> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-spring</artifactId> + </dependency> + + <!-- we use spring web to kick-start the application in web.xml --> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-web</artifactId> + </dependency> + + <!-- camel jms and activemq --> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-jms</artifactId> + </dependency> + <dependency> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-camel</artifactId> + </dependency> + + <!-- embed ActiveMQ broker --> + <dependency> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-broker</artifactId> + </dependency> + <dependency> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-spring</artifactId> + </dependency> + <dependency> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-kahadb-store</artifactId> + </dependency> + + <!-- ActiveMQ client --> + <dependency> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-client</artifactId> + </dependency> + <dependency> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-pool</artifactId> + </dependency> + + <!-- xbean is required for ActiveMQ broker configuration in the spring xml file --> + <dependency> + <groupId>org.apache.xbean</groupId> + <artifactId>xbean-spring</artifactId> + </dependency> + + <!-- logging --> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + </dependency> + </dependencies> + + <profiles> + <profile> + <id>Tomcat7</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <properties> + <tomcat.url>http://localhost:8080/manager/text</tomcat.url> + </properties> + </profile> + <profile> + <id>Tomcat6</id> + <properties> + <tomcat.url>http://localhost:8080/manager</tomcat.url> + </properties> + </profile> + </profiles> </project> http://git-wip-us.apache.org/repos/asf/camel/blob/034f7b04/examples/camel-example-aggregate/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-aggregate/pom.xml b/examples/camel-example-aggregate/pom.xml index 134eacc..5dc3747 100644 --- a/examples/camel-example-aggregate/pom.xml +++ b/examples/camel-example-aggregate/pom.xml @@ -1,110 +1,110 @@ <?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 + 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 + 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. + 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"> +<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.camel</groupId> - <artifactId>examples</artifactId> - <version>2.18-SNAPSHOT</version> - </parent> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.camel</groupId> + <artifactId>examples</artifactId> + <version>2.18-SNAPSHOT</version> + </parent> - <artifactId>camel-example-aggregate</artifactId> - <packaging>jar</packaging> - <name>Camel :: Example :: Aggregate</name> - <description>Demonstrates the persistent support for the Camel aggregator</description> + <artifactId>camel-example-aggregate</artifactId> + <packaging>jar</packaging> + <name>Camel :: Example :: Aggregate</name> + <description>Demonstrates the persistent support for the Camel aggregator</description> - <properties> - <camel.osgi.export.pkg>org.apache.camel.example.*</camel.osgi.export.pkg> - </properties> + <properties> + <camel.osgi.export.pkg>org.apache.camel.example.*</camel.osgi.export.pkg> + </properties> - <dependencies> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-core</artifactId> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-hawtdb</artifactId> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-spring</artifactId> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-stream</artifactId> - </dependency> + <dependencies> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-hawtdb</artifactId> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-spring</artifactId> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-stream</artifactId> + </dependency> - <!-- for logging using log4j.properties in src/main/resources --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - </dependency> - <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - </dependency> + <!-- for logging using log4j.properties in src/main/resources --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + </dependency> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + </dependency> - <!-- for testing --> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-test</artifactId> - <scope>test</scope> - </dependency> + <!-- for testing --> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-test</artifactId> + <scope>test</scope> + </dependency> - </dependencies> + </dependencies> - <build> - <plugins> - <!-- Allows the routes to be run via 'mvn camel:run' --> - <plugin> - <groupId>org.apache.camel</groupId> - <artifactId>camel-maven-plugin</artifactId> - <version>${project.version}</version> - </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> + <build> + <plugins> + <!-- Allows the routes to be run via 'mvn camel:run' --> + <plugin> + <groupId>org.apache.camel</groupId> + <artifactId>camel-maven-plugin</artifactId> + <version>${project.version}</version> + </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> - </plugins> - </build> + </plugins> + </build> </project> http://git-wip-us.apache.org/repos/asf/camel/blob/034f7b04/examples/camel-example-bam/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-bam/pom.xml b/examples/camel-example-bam/pom.xml index 9a5c1b2..3383f45 100644 --- a/examples/camel-example-bam/pom.xml +++ b/examples/camel-example-bam/pom.xml @@ -1,21 +1,22 @@ <?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 + 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 + 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. + 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"> +<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> @@ -27,18 +28,18 @@ <artifactId>camel-example-bam</artifactId> <packaging>jar</packaging> - <name>Camel :: Example :: BAM</name> + <name>Camel :: Example :: BAM</name> <description>An example showing how to use Camel as a Business Activity Monitoring tool</description> - <properties> - <camel.osgi.export.pkg> - org.apache.camel.example.bam.* - </camel.osgi.export.pkg> - <camel.osgi.import.additional> - org.apache.camel.bam.model - </camel.osgi.import.additional> - <!-- to avoid us import bunch other package --> - <camel.osgi.dynamic>*</camel.osgi.dynamic> + <properties> + <camel.osgi.export.pkg> + org.apache.camel.example.bam.* + </camel.osgi.export.pkg> + <camel.osgi.import.additional> + org.apache.camel.bam.model + </camel.osgi.import.additional> + <!-- to avoid us import bunch other package --> + <camel.osgi.dynamic>*</camel.osgi.dynamic> </properties> <dependencies> @@ -77,7 +78,7 @@ <dependency> <groupId>commons-dbcp</groupId> <artifactId>commons-dbcp</artifactId> - </dependency> + </dependency> <!-- testing --> <dependency> @@ -93,10 +94,10 @@ <artifactId>maven-surefire-plugin</artifactId> <configuration> <forkCount>1</forkCount> - <reuseForks>false</reuseForks> + <reuseForks>false</reuseForks> </configuration> </plugin> - + <!-- Allows the example to be run via 'mvn camel:run' --> <plugin> <groupId>org.apache.camel</groupId> @@ -116,5 +117,5 @@ </plugins> </build> - + </project> http://git-wip-us.apache.org/repos/asf/camel/blob/034f7b04/examples/camel-example-box-osgi/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-box-osgi/pom.xml b/examples/camel-example-box-osgi/pom.xml index 703e647..c51fbb5 100644 --- a/examples/camel-example-box-osgi/pom.xml +++ b/examples/camel-example-box-osgi/pom.xml @@ -15,57 +15,58 @@ 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"> +<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> + <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.camel</groupId> - <artifactId>examples</artifactId> + <parent> + <groupId>org.apache.camel</groupId> + <artifactId>examples</artifactId> <version>2.18-SNAPSHOT</version> - </parent> + </parent> - <artifactId>camel-example-box-osgi</artifactId> - <name>Camel :: Example :: Box :: OSGI</name> - <description>An example which use a Box Endpoint in OSGi</description> - <packaging>jar</packaging> + <artifactId>camel-example-box-osgi</artifactId> + <name>Camel :: Example :: Box :: OSGI</name> + <description>An example which use a Box Endpoint in OSGi</description> + <packaging>jar</packaging> - <properties> - <camel.osgi.export.pkg> - org.apache.camel.example* - </camel.osgi.export.pkg> - </properties> + <properties> + <camel.osgi.export.pkg> + org.apache.camel.example* + </camel.osgi.export.pkg> + </properties> - <dependencies> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-core</artifactId> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-box</artifactId> - </dependency> + <dependencies> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-box</artifactId> + </dependency> - <!-- logging --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - </dependency> - <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - </dependency> - <!-- test --> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-test-spring</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - </dependencies> + <!-- logging --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + </dependency> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + </dependency> + <!-- test --> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-test-spring</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + </dependencies> </project> http://git-wip-us.apache.org/repos/asf/camel/blob/034f7b04/examples/camel-example-cafe/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-cafe/pom.xml b/examples/camel-example-cafe/pom.xml index 7a75ab8..4ca9fe3 100755 --- a/examples/camel-example-cafe/pom.xml +++ b/examples/camel-example-cafe/pom.xml @@ -1,22 +1,22 @@ <?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. + 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"> +<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> http://git-wip-us.apache.org/repos/asf/camel/blob/034f7b04/examples/camel-example-cdi-test/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-cdi-test/pom.xml b/examples/camel-example-cdi-test/pom.xml index 0d060fc..b2ad0ab 100644 --- a/examples/camel-example-cdi-test/pom.xml +++ b/examples/camel-example-cdi-test/pom.xml @@ -1,20 +1,22 @@ <?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 + 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 + 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"> + 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> http://git-wip-us.apache.org/repos/asf/camel/blob/034f7b04/examples/camel-example-cdi/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-cdi/pom.xml b/examples/camel-example-cdi/pom.xml index 8ada908..b20d0f9 100644 --- a/examples/camel-example-cdi/pom.xml +++ b/examples/camel-example-cdi/pom.xml @@ -1,20 +1,22 @@ <?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 + 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 + 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"> + 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> http://git-wip-us.apache.org/repos/asf/camel/blob/034f7b04/examples/camel-example-console/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-console/pom.xml b/examples/camel-example-console/pom.xml index 00f09ec..53e553a 100644 --- a/examples/camel-example-console/pom.xml +++ b/examples/camel-example-console/pom.xml @@ -7,7 +7,7 @@ (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 + 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, @@ -15,7 +15,8 @@ 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"> +<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> http://git-wip-us.apache.org/repos/asf/camel/blob/034f7b04/examples/camel-example-cxf-blueprint/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-cxf-blueprint/pom.xml b/examples/camel-example-cxf-blueprint/pom.xml index b0dcd2a..518edde 100644 --- a/examples/camel-example-cxf-blueprint/pom.xml +++ b/examples/camel-example-cxf-blueprint/pom.xml @@ -15,7 +15,8 @@ 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"> +<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> @@ -67,15 +68,15 @@ <scope>test</scope> </dependency> <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-jaxb</artifactId> - <scope>test</scope> - </dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-jaxb</artifactId> + <scope>test</scope> + </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> - </dependency> + </dependency> </dependencies> <build> http://git-wip-us.apache.org/repos/asf/camel/blob/034f7b04/examples/camel-example-cxf-osgi/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-cxf-osgi/pom.xml b/examples/camel-example-cxf-osgi/pom.xml index e423f2c..fecb435 100644 --- a/examples/camel-example-cxf-osgi/pom.xml +++ b/examples/camel-example-cxf-osgi/pom.xml @@ -15,133 +15,134 @@ 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"> +<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> + <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.camel</groupId> - <artifactId>examples</artifactId> - <version>2.18-SNAPSHOT</version> - </parent> + <parent> + <groupId>org.apache.camel</groupId> + <artifactId>examples</artifactId> + <version>2.18-SNAPSHOT</version> + </parent> - <artifactId>camel-example-cxf-osgi</artifactId> - <name>Camel :: Example :: CXF :: OSGI</name> - <description>An example which use a CXF consumer and the OSGI HTTP Service</description> - <packaging>jar</packaging> + <artifactId>camel-example-cxf-osgi</artifactId> + <name>Camel :: Example :: CXF :: OSGI</name> + <description>An example which use a CXF consumer and the OSGI HTTP Service</description> + <packaging>jar</packaging> - <properties> - <camel.osgi.import.pkg> - org.apache.cxf, - org.apache.cxf.binding, - org.apache.cxf.binding.corba, - org.apache.cxf.binding.soap, - org.apache.cxf.binding.soap.spring, - org.apache.cxf.bus, - org.apache.cxf.bus.resource, - org.apache.cxf.bus.spring, - org.apache.cxf.buslifecycle, - org.apache.cxf.catalog, - org.apache.cxf.configuration, - org.apache.cxf.configuration.spring, - org.apache.cxf.endpoint, - org.apache.cxf.headers, - org.apache.cxf.management, - org.apache.cxf.management.jmx, - org.apache.cxf.phase, - org.apache.cxf.resource, - org.apache.cxf.service.factory, - org.apache.cxf.transport, - org.apache.cxf.transport.http, - org.apache.cxf.transport.http.policy, - org.apache.cxf.transport.http_jetty, - org.apache.cxf.transport.jms, - org.apache.cxf.workqueue, - org.apache.cxf.wsdl, - org.apache.cxf.wsdl11, - * - </camel.osgi.import.pkg> - <camel.osgi.export.pkg> - org.apache.camel.example.reportincident* - </camel.osgi.export.pkg> - </properties> + <properties> + <camel.osgi.import.pkg> + org.apache.cxf, + org.apache.cxf.binding, + org.apache.cxf.binding.corba, + org.apache.cxf.binding.soap, + org.apache.cxf.binding.soap.spring, + org.apache.cxf.bus, + org.apache.cxf.bus.resource, + org.apache.cxf.bus.spring, + org.apache.cxf.buslifecycle, + org.apache.cxf.catalog, + org.apache.cxf.configuration, + org.apache.cxf.configuration.spring, + org.apache.cxf.endpoint, + org.apache.cxf.headers, + org.apache.cxf.management, + org.apache.cxf.management.jmx, + org.apache.cxf.phase, + org.apache.cxf.resource, + org.apache.cxf.service.factory, + org.apache.cxf.transport, + org.apache.cxf.transport.http, + org.apache.cxf.transport.http.policy, + org.apache.cxf.transport.http_jetty, + org.apache.cxf.transport.jms, + org.apache.cxf.workqueue, + org.apache.cxf.wsdl, + org.apache.cxf.wsdl11, + * + </camel.osgi.import.pkg> + <camel.osgi.export.pkg> + org.apache.camel.example.reportincident* + </camel.osgi.export.pkg> + </properties> - <dependencies> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-core</artifactId> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-cxf</artifactId> - </dependency> - <dependency> - <groupId>org.apache.cxf</groupId> - <artifactId>cxf-rt-frontend-jaxws</artifactId> - <version>${cxf-version}</version> - </dependency> - <dependency> - <groupId>org.apache.cxf</groupId> - <artifactId>cxf-rt-transports-http</artifactId> - <version>${cxf-version}</version> - </dependency> - <dependency> - <groupId>org.apache.cxf</groupId> - <artifactId>cxf-rt-transports-http-jetty</artifactId> - <version>${cxf-version}</version> - <scope>test</scope> - </dependency> - <!-- logging --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - </dependency> - <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - </dependency> - <!-- test --> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-test-spring</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-jaxb</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - </dependencies> + <dependencies> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-cxf</artifactId> + </dependency> + <dependency> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-rt-frontend-jaxws</artifactId> + <version>${cxf-version}</version> + </dependency> + <dependency> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-rt-transports-http</artifactId> + <version>${cxf-version}</version> + </dependency> + <dependency> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-rt-transports-http-jetty</artifactId> + <version>${cxf-version}</version> + <scope>test</scope> + </dependency> + <!-- logging --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + </dependency> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + </dependency> + <!-- test --> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-test-spring</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-jaxb</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + </dependencies> - <build> - <plugins> - <!-- CXF wsdl2java generator, will plugin to the compile goal --> - <plugin> - <groupId>org.apache.cxf</groupId> - <artifactId>cxf-codegen-plugin</artifactId> - <executions> - <execution> - <id>generate-sources</id> - <phase>generate-sources</phase> - <configuration> - <sourceRoot>${basedir}/target/generated/src/main/java</sourceRoot> - <wsdlOptions> - <wsdlOption> - <wsdl>${basedir}/src/main/resources/META-INF/wsdl/report_incident.wsdl</wsdl> - </wsdlOption> - </wsdlOptions> - </configuration> - <goals> - <goal>wsdl2java</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> + <build> + <plugins> + <!-- CXF wsdl2java generator, will plugin to the compile goal --> + <plugin> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-codegen-plugin</artifactId> + <executions> + <execution> + <id>generate-sources</id> + <phase>generate-sources</phase> + <configuration> + <sourceRoot>${basedir}/target/generated/src/main/java</sourceRoot> + <wsdlOptions> + <wsdlOption> + <wsdl>${basedir}/src/main/resources/META-INF/wsdl/report_incident.wsdl</wsdl> + </wsdlOption> + </wsdlOptions> + </configuration> + <goals> + <goal>wsdl2java</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> http://git-wip-us.apache.org/repos/asf/camel/blob/034f7b04/examples/camel-example-cxf-proxy/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-cxf-proxy/pom.xml b/examples/camel-example-cxf-proxy/pom.xml index fd8720b..721843a 100755 --- a/examples/camel-example-cxf-proxy/pom.xml +++ b/examples/camel-example-cxf-proxy/pom.xml @@ -15,7 +15,8 @@ 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"> +<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> http://git-wip-us.apache.org/repos/asf/camel/blob/034f7b04/examples/camel-example-cxf-tomcat/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-cxf-tomcat/pom.xml b/examples/camel-example-cxf-tomcat/pom.xml index c9f91ea..27ccc53 100755 --- a/examples/camel-example-cxf-tomcat/pom.xml +++ b/examples/camel-example-cxf-tomcat/pom.xml @@ -15,114 +15,115 @@ 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"> +<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> + <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.camel</groupId> - <artifactId>examples</artifactId> - <version>2.18-SNAPSHOT</version> - </parent> + <parent> + <groupId>org.apache.camel</groupId> + <artifactId>examples</artifactId> + <version>2.18-SNAPSHOT</version> + </parent> - <artifactId>camel-example-cxf-tomcat</artifactId> - <name>Camel :: Example :: CXF :: Tomcat</name> - <description>An example using Camel CXF (code first) with Apache Tomcat</description> - <packaging>war</packaging> + <artifactId>camel-example-cxf-tomcat</artifactId> + <name>Camel :: Example :: CXF :: Tomcat</name> + <description>An example using Camel CXF (code first) with Apache Tomcat</description> + <packaging>war</packaging> - <build> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>tomcat-maven-plugin</artifactId> - <configuration> - <server>myTomcat</server> - <url>${tomcat.url}</url> - <path>/${project.build.finalName}</path> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <configuration> - <mainClass>org.apache.camel.example.cxf.CamelRouteClient</mainClass> - <includePluginDependencies>false</includePluginDependencies> - <systemProperties> - <property> - <key>java.util.logging.config.file</key> - <value>logging.properties</value> - </property> - </systemProperties> - </configuration> - </plugin> - </plugins> - <!-- Name of the generated WAR file --> - <finalName>camel-example-cxf-tomcat</finalName> - </build> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>tomcat-maven-plugin</artifactId> + <configuration> + <server>myTomcat</server> + <url>${tomcat.url}</url> + <path>/${project.build.finalName}</path> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <configuration> + <mainClass>org.apache.camel.example.cxf.CamelRouteClient</mainClass> + <includePluginDependencies>false</includePluginDependencies> + <systemProperties> + <property> + <key>java.util.logging.config.file</key> + <value>logging.properties</value> + </property> + </systemProperties> + </configuration> + </plugin> + </plugins> + <!-- Name of the generated WAR file --> + <finalName>camel-example-cxf-tomcat</finalName> + </build> - <dependencies> + <dependencies> - <!-- camel --> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-core</artifactId> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-spring</artifactId> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-cxf</artifactId> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-servlet</artifactId> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-web</artifactId> - </dependency> - - <!-- cxf --> - <dependency> - <groupId>org.apache.cxf</groupId> - <artifactId>cxf-rt-frontend-jaxws</artifactId> - <version>${cxf-version}</version> - </dependency> - <dependency> - <groupId>org.apache.cxf</groupId> - <artifactId>cxf-rt-transports-http</artifactId> - <version>${cxf-version}</version> - </dependency> + <!-- camel --> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-spring</artifactId> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-cxf</artifactId> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-servlet</artifactId> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-web</artifactId> + </dependency> - <!-- logging --> - <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - </dependency> - </dependencies> + <!-- cxf --> + <dependency> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-rt-frontend-jaxws</artifactId> + <version>${cxf-version}</version> + </dependency> + <dependency> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-rt-transports-http</artifactId> + <version>${cxf-version}</version> + </dependency> - <profiles> - <profile> - <id>Tomcat7</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <properties> - <tomcat.url>http://localhost:8080/manager/text</tomcat.url> - </properties> - </profile> - <profile> - <id>Tomcat6</id> - <properties> - <tomcat.url>http://localhost:8080/manager</tomcat.url> - </properties> - </profile> - </profiles> + <!-- logging --> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + </dependency> + </dependencies> + + <profiles> + <profile> + <id>Tomcat7</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <properties> + <tomcat.url>http://localhost:8080/manager/text</tomcat.url> + </properties> + </profile> + <profile> + <id>Tomcat6</id> + <properties> + <tomcat.url>http://localhost:8080/manager</tomcat.url> + </properties> + </profile> + </profiles> </project> http://git-wip-us.apache.org/repos/asf/camel/blob/034f7b04/examples/camel-example-cxf/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-cxf/pom.xml b/examples/camel-example-cxf/pom.xml index fe224bf..9c251de 100644 --- a/examples/camel-example-cxf/pom.xml +++ b/examples/camel-example-cxf/pom.xml @@ -1,266 +1,268 @@ <?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 + 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 + 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. + 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"> +<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> + <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.camel</groupId> - <artifactId>examples</artifactId> - <version>2.18-SNAPSHOT</version> - </parent> + <parent> + <groupId>org.apache.camel</groupId> + <artifactId>examples</artifactId> + <version>2.18-SNAPSHOT</version> + </parent> - <artifactId>camel-example-cxf</artifactId> - <name>Camel :: Example :: CXF</name> - <description>An example which demonstrates the use of the Camel CXF component</description> + <artifactId>camel-example-cxf</artifactId> + <name>Camel :: Example :: CXF</name> + <description>An example which demonstrates the use of the Camel CXF component</description> - <properties> - <camel.osgi.export.pkg> - org.apache.camel.example.* - </camel.osgi.export.pkg> - <camel.osgi.import.additional> - org.apache.activemq.xbean,org.apache.activemq.broker,org.apache.activemq.pool - </camel.osgi.import.additional> - <camel.osgi.private.pkg> - org.apache.hello_world_soap_http, - org.apache.hello_world_soap_http.types - </camel.osgi.private.pkg> - <!-- to avoid importing a bunch of cxf packages --> - <camel.osgi.dynamic>*</camel.osgi.dynamic> - </properties> + <properties> + <camel.osgi.export.pkg> + org.apache.camel.example.* + </camel.osgi.export.pkg> + <camel.osgi.import.additional> + org.apache.activemq.xbean,org.apache.activemq.broker,org.apache.activemq.pool + </camel.osgi.import.additional> + <camel.osgi.private.pkg> + org.apache.hello_world_soap_http, + org.apache.hello_world_soap_http.types + </camel.osgi.private.pkg> + <!-- to avoid importing a bunch of cxf packages --> + <camel.osgi.dynamic>*</camel.osgi.dynamic> + </properties> - <dependencies> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-core</artifactId> - </dependency> + <dependencies> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-core</artifactId> + </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-spring</artifactId> - </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-spring</artifactId> + </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-cxf</artifactId> - </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-cxf</artifactId> + </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-cxf-transport</artifactId> - </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-cxf-transport</artifactId> + </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-jetty9</artifactId> - </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-jetty9</artifactId> + </dependency> - <dependency> - <groupId>org.apache.cxf</groupId> - <artifactId>cxf-rt-transports-http-jetty</artifactId> - <version>${cxf-version}</version> - </dependency> + <dependency> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-rt-transports-http-jetty</artifactId> + <version>${cxf-version}</version> + </dependency> - <dependency> - <groupId>org.apache.cxf</groupId> - <artifactId>cxf-rt-bindings-soap</artifactId> - <version>${cxf-version}</version> - </dependency> + <dependency> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-rt-bindings-soap</artifactId> + <version>${cxf-version}</version> + </dependency> - <dependency> - <groupId>org.apache.cxf</groupId> - <artifactId>cxf-rt-transports-jms</artifactId> - <version>${cxf-version}</version> - </dependency> + <dependency> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-rt-transports-jms</artifactId> + <version>${cxf-version}</version> + </dependency> - <dependency> - <groupId>org.apache.cxf</groupId> - <artifactId>cxf-rt-frontend-jaxrs</artifactId> - <version>${cxf-version}</version> - </dependency> + <dependency> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-rt-frontend-jaxrs</artifactId> + <version>${cxf-version}</version> + </dependency> - <dependency> - <groupId>org.apache.activemq</groupId> - <artifactId>activemq-broker</artifactId> - </dependency> - <dependency> - <groupId>org.apache.activemq</groupId> - <artifactId>activemq-spring</artifactId> - </dependency> - <dependency> - <groupId>org.apache.activemq</groupId> - <artifactId>activemq-kahadb-store</artifactId> - </dependency> + <dependency> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-broker</artifactId> + </dependency> + <dependency> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-spring</artifactId> + </dependency> + <dependency> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-kahadb-store</artifactId> + </dependency> - <dependency> - <groupId>org.apache.geronimo.specs</groupId> - <artifactId>geronimo-j2ee-connector_1.5_spec</artifactId> - <scope>provided</scope> - </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-j2ee-connector_1.5_spec</artifactId> + <scope>provided</scope> + </dependency> - <dependency> - <groupId>org.apache.xbean</groupId> - <artifactId>xbean-spring</artifactId> - <exclusions> - <exclusion> - <groupId>org.springframework</groupId> - <artifactId>spring</artifactId> - </exclusion> - </exclusions> - </dependency> + <dependency> + <groupId>org.apache.xbean</groupId> + <artifactId>xbean-spring</artifactId> + <exclusions> + <exclusion> + <groupId>org.springframework</groupId> + <artifactId>spring</artifactId> + </exclusion> + </exclusions> + </dependency> - <dependency> - <groupId>xerces</groupId> - <artifactId>xercesImpl</artifactId> - </dependency> + <dependency> + <groupId>xerces</groupId> + <artifactId>xercesImpl</artifactId> + </dependency> - <!-- logging --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - </dependency> - <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - </dependency> + <!-- logging --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + </dependency> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + </dependency> - <!-- testing --> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-test-spring</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-test</artifactId> - <!-- Not test scope because we need to use the port finder utility in the actual example code. --> - </dependency> + <!-- testing --> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-test-spring</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-test</artifactId> + <!-- Not test scope because we need to use the port finder utility in the actual example code. --> + </dependency> - </dependencies> + </dependencies> - <profiles> - <profile> - <id>HttpToJMS</id> - <properties> - <!-- Starting the camel-cxf example of routing the SOAP over http - message to SOAP over JMS Server --> - <target.main.class>org.apache.camel.example.cxf.httptojms.CamelCxfExample</target.main.class> - </properties> - </profile> - <profile> - <id>CamelTransport</id> - <properties> - <!-- Starting the camel-cxf example of using Camel transport of CXF --> - <target.main.class>org.apache.camel.example.camel.transport.CamelTransportExample</target.main.class> - </properties> - </profile> - <profile> - <id>WebServiceProvider</id> - <properties> - <!-- Starting the camel-cxf example of how to use the JAXWS WebServiceProvider - API --> - <target.main.class>org.apache.camel.example.cxf.provider.CamelCxfExample</target.main.class> - </properties> - </profile> - <profile> - <id>JAXRS</id> - <properties> - <!-- Starting the camel-cxf example of JAXRS --> - <target.main.class>org.apache.camel.example.cxf.jaxrs.CamelRouterBuilder</target.main.class> - </properties> - </profile> - <profile> - <id>HttpToJMS.Client</id> - <properties> - <!-- Starting the camel-cxf example client of routing the SOAP over - http message to SOAP over JMS Server --> - <target.main.class>org.apache.camel.example.cxf.httptojms.Client</target.main.class> - </properties> - </profile> - <profile> - <id>CamelTransport.Client</id> - <properties> - <!-- Starting the camel-cxf example client of using Camel transport - of CXF --> - <target.main.class>org.apache.camel.example.camel.transport.Client</target.main.class> - </properties> - </profile> - <profile> - <id>WebServiceProvider.Client</id> - <properties> - <!-- Starting the camel-cxf example client of how to use the JAXWS - WebServiceProvider API --> - <target.main.class>org.apache.camel.example.cxf.provider.Client</target.main.class> - </properties> - </profile> - <profile> - <id>JAXRS.Client</id> - <properties> - <!-- Starting the camel-cxf example client of JAXRS --> - <target.main.class>org.apache.camel.example.cxf.jaxrs.Client</target.main.class> - </properties> - </profile> - </profiles> + <profiles> + <profile> + <id>HttpToJMS</id> + <properties> + <!-- Starting the camel-cxf example of routing the SOAP over http + message to SOAP over JMS Server --> + <target.main.class>org.apache.camel.example.cxf.httptojms.CamelCxfExample</target.main.class> + </properties> + </profile> + <profile> + <id>CamelTransport</id> + <properties> + <!-- Starting the camel-cxf example of using Camel transport of CXF --> + <target.main.class>org.apache.camel.example.camel.transport.CamelTransportExample</target.main.class> + </properties> + </profile> + <profile> + <id>WebServiceProvider</id> + <properties> + <!-- Starting the camel-cxf example of how to use the JAXWS WebServiceProvider + API --> + <target.main.class>org.apache.camel.example.cxf.provider.CamelCxfExample</target.main.class> + </properties> + </profile> + <profile> + <id>JAXRS</id> + <properties> + <!-- Starting the camel-cxf example of JAXRS --> + <target.main.class>org.apache.camel.example.cxf.jaxrs.CamelRouterBuilder</target.main.class> + </properties> + </profile> + <profile> + <id>HttpToJMS.Client</id> + <properties> + <!-- Starting the camel-cxf example client of routing the SOAP over + http message to SOAP over JMS Server --> + <target.main.class>org.apache.camel.example.cxf.httptojms.Client</target.main.class> + </properties> + </profile> + <profile> + <id>CamelTransport.Client</id> + <properties> + <!-- Starting the camel-cxf example client of using Camel transport + of CXF --> + <target.main.class>org.apache.camel.example.camel.transport.Client</target.main.class> + </properties> + </profile> + <profile> + <id>WebServiceProvider.Client</id> + <properties> + <!-- Starting the camel-cxf example client of how to use the JAXWS + WebServiceProvider API --> + <target.main.class>org.apache.camel.example.cxf.provider.Client</target.main.class> + </properties> + </profile> + <profile> + <id>JAXRS.Client</id> + <properties> + <!-- Starting the camel-cxf example client of JAXRS --> + <target.main.class>org.apache.camel.example.cxf.jaxrs.Client</target.main.class> + </properties> + </profile> + </profiles> - <build> - <plugins> - <plugin> - <groupId>org.apache.cxf</groupId> - <artifactId>cxf-codegen-plugin</artifactId> - <executions> - <execution> - <id>generate-sources</id> - <phase>generate-sources</phase> - <configuration> - <sourceRoot>${basedir}/target/generated/src/main/java</sourceRoot> - <wsdlOptions> - <wsdlOption> - <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl> - </wsdlOption> - </wsdlOptions> - </configuration> - <goals> - <goal>wsdl2java</goal> - </goals> - </execution> - </executions> - </plugin> + <build> + <plugins> + <plugin> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-codegen-plugin</artifactId> + <executions> + <execution> + <id>generate-sources</id> + <phase>generate-sources</phase> + <configuration> + <sourceRoot>${basedir}/target/generated/src/main/java</sourceRoot> + <wsdlOptions> + <wsdlOption> + <wsdl>${basedir}/src/main/resources/wsdl/hello_world.wsdl</wsdl> + </wsdlOption> + </wsdlOptions> + </configuration> + <goals> + <goal>wsdl2java</goal> + </goals> + </execution> + </executions> + </plugin> - <!-- Allows the example to be run via 'mvn compile exec:java' --> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <configuration> - <mainClass>${target.main.class}</mainClass> - <includePluginDependencies>false</includePluginDependencies> - <systemProperties> - <property> - <key>java.util.logging.config.file</key> - <value>logging.properties</value> - </property> - </systemProperties> - </configuration> - </plugin> - </plugins> - </build> + <!-- Allows the example to be run via 'mvn compile exec:java' --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <configuration> + <mainClass>${target.main.class}</mainClass> + <includePluginDependencies>false</includePluginDependencies> + <systemProperties> + <property> + <key>java.util.logging.config.file</key> + <value>logging.properties</value> + </property> + </systemProperties> + </configuration> + </plugin> + </plugins> + </build> </project> http://git-wip-us.apache.org/repos/asf/camel/blob/034f7b04/examples/camel-example-etl/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-etl/pom.xml b/examples/camel-example-etl/pom.xml index 61a9815..1873eb1 100644 --- a/examples/camel-example-etl/pom.xml +++ b/examples/camel-example-etl/pom.xml @@ -1,20 +1,22 @@ <?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 + 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. + 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"> +<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> @@ -79,33 +81,33 @@ <build> <pluginManagement> - <plugins> - <!-- Eclipse m2e Lifecycle Management --> - <plugin> - <groupId>org.eclipse.m2e</groupId> - <artifactId>lifecycle-mapping</artifactId> - <version>${lifecycle-mapping-version}</version> - <configuration> - <lifecycleMappingMetadata> - <pluginExecutions> - <pluginExecution> - <pluginExecutionFilter> - <groupId>org.apache.openjpa</groupId> - <artifactId>openjpa-maven-plugin</artifactId> - <versionRange>${openjpa-version}</versionRange> - <goals> - <goal>enhance</goal> - </goals> - </pluginExecutionFilter> - <action> - <ignore /> - </action> - </pluginExecution> - </pluginExecutions> - </lifecycleMappingMetadata> - </configuration> - </plugin> - </plugins> + <plugins> + <!-- Eclipse m2e Lifecycle Management --> + <plugin> + <groupId>org.eclipse.m2e</groupId> + <artifactId>lifecycle-mapping</artifactId> + <version>${lifecycle-mapping-version}</version> + <configuration> + <lifecycleMappingMetadata> + <pluginExecutions> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.apache.openjpa</groupId> + <artifactId>openjpa-maven-plugin</artifactId> + <versionRange>${openjpa-version}</versionRange> + <goals> + <goal>enhance</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore/> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMappingMetadata> + </configuration> + </plugin> + </plugins> </pluginManagement> <plugins> <plugin> http://git-wip-us.apache.org/repos/asf/camel/blob/034f7b04/examples/camel-example-ftp/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-ftp/pom.xml b/examples/camel-example-ftp/pom.xml index eaf1474..66be13c 100644 --- a/examples/camel-example-ftp/pom.xml +++ b/examples/camel-example-ftp/pom.xml @@ -1,94 +1,95 @@ <?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. + 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"> +<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> + <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.camel</groupId> - <artifactId>examples</artifactId> - <version>2.18-SNAPSHOT</version> - </parent> + <parent> + <groupId>org.apache.camel</groupId> + <artifactId>examples</artifactId> + <version>2.18-SNAPSHOT</version> + </parent> - <artifactId>camel-example-ftp</artifactId> - <packaging>jar</packaging> - <name>Camel :: Example :: FTP</name> - <description>An example for showing Camel FTP integration</description> + <artifactId>camel-example-ftp</artifactId> + <packaging>jar</packaging> + <name>Camel :: Example :: FTP</name> + <description>An example for showing Camel FTP integration</description> - <dependencies> + <dependencies> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-core</artifactId> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-ftp</artifactId> - </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-ftp</artifactId> + </dependency> - <!-- logging --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - </dependency> - <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - </dependency> + <!-- logging --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + </dependency> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + </dependency> - </dependencies> + </dependencies> - <profiles> + <profiles> - <profile> - <id>client</id> - <build> - <plugins> - <!-- Allows the example to be run via 'mvn compile exec:java -Pclient' --> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <configuration> - <mainClass>org.apache.camel.example.ftp.MyFtpClient</mainClass> - <includePluginDependencies>false</includePluginDependencies> - </configuration> - </plugin> - </plugins> - </build> - </profile> + <profile> + <id>client</id> + <build> + <plugins> + <!-- Allows the example to be run via 'mvn compile exec:java -Pclient' --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <configuration> + <mainClass>org.apache.camel.example.ftp.MyFtpClient</mainClass> + <includePluginDependencies>false</includePluginDependencies> + </configuration> + </plugin> + </plugins> + </build> + </profile> - <profile> - <id>server</id> - <build> - <plugins> - <!-- Allows the example to be run via 'mvn compile exec:java -Pserver' --> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <configuration> - <mainClass>org.apache.camel.example.ftp.MyFtpServer</mainClass> - <includePluginDependencies>false</includePluginDependencies> - </configuration> - </plugin> - </plugins> - </build> - </profile> + <profile> + <id>server</id> + <build> + <plugins> + <!-- Allows the example to be run via 'mvn compile exec:java -Pserver' --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <configuration> + <mainClass>org.apache.camel.example.ftp.MyFtpServer</mainClass> + <includePluginDependencies>false</includePluginDependencies> + </configuration> + </plugin> + </plugins> + </build> + </profile> - </profiles> + </profiles> </project>