You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by cm...@apache.org on 2010/04/23 12:15:52 UTC
svn commit: r937227 - in
/camel/trunk/examples/camel-example-loadbalancing-mina: README.txt
loadbalancing/pom.xml mina1/pom.xml mina2/pom.xml pom.xml
Author: cmoulliard
Date: Fri Apr 23 10:15:52 2010
New Revision: 937227
URL: http://svn.apache.org/viewvc?rev=937227&view=rev
Log:
Add a parent pom + modules for loadbalancing, mina1 and mina2
Added:
camel/trunk/examples/camel-example-loadbalancing-mina/pom.xml (with props)
Modified:
camel/trunk/examples/camel-example-loadbalancing-mina/README.txt
camel/trunk/examples/camel-example-loadbalancing-mina/loadbalancing/pom.xml
camel/trunk/examples/camel-example-loadbalancing-mina/mina1/pom.xml
camel/trunk/examples/camel-example-loadbalancing-mina/mina2/pom.xml
Modified: camel/trunk/examples/camel-example-loadbalancing-mina/README.txt
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-loadbalancing-mina/README.txt?rev=937227&r1=937226&r2=937227&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-loadbalancing-mina/README.txt (original)
+++ camel/trunk/examples/camel-example-loadbalancing-mina/README.txt Fri Apr 23 10:15:52 2010
@@ -102,19 +102,18 @@ who will display in its log the content
2. Test the example
===================
-First compile the loadbalancing example and add it in your maven repo.
-remark : Classes compiled in this project are used by mina1 and mina2
+To compile and install the project in your maven repo, execute the following command on the
+root of the project
->loadbalancing
mvn clean install
-To run the example, execute now the following command :
+To run the example, execute now the following command in the respective folder:
>mina1
-mvn clean install camel:run
+mvn camel:run
>mina2
-mvn clean install camel:run
+mvn camel:run
>loadbalancing
mvn camel:run
Modified: camel/trunk/examples/camel-example-loadbalancing-mina/loadbalancing/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-loadbalancing-mina/loadbalancing/pom.xml?rev=937227&r1=937226&r2=937227&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-loadbalancing-mina/loadbalancing/pom.xml (original)
+++ camel/trunk/examples/camel-example-loadbalancing-mina/loadbalancing/pom.xml Fri Apr 23 10:15:52 2010
@@ -22,38 +22,30 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.camel</groupId>
- <artifactId>examples</artifactId>
+ <groupId>org.apache.camel.example</groupId>
+ <artifactId>loadbalancing-parent</artifactId>
<version>2.3-SNAPSHOT</version>
</parent>
- <properties>
- <camel-version>2.3-SNAPSHOT</camel-version>
- </properties>
-
<groupId>org.apache.camel.example</groupId>
<artifactId>loadbalancing</artifactId>
<packaging>jar</packaging>
- <version>1.0-SNAPSHOT</version>
- <name>Camel :: Example :: Loadbancing - camel-mina</name>
+ <name>Camel :: Example :: Loadbalancer camel-mina</name>
<description>An example that show loadbalancing with mina servers (TCP/IP)</description>
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
- <version>${camel-version}</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring</artifactId>
- <version>${camel-version}</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mina</artifactId>
- <version>${camel-version}</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
@@ -62,12 +54,10 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
- <version>1.5.10</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
- <version>1.5.6</version>
</dependency>
</dependencies>
Modified: camel/trunk/examples/camel-example-loadbalancing-mina/mina1/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-loadbalancing-mina/mina1/pom.xml?rev=937227&r1=937226&r2=937227&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-loadbalancing-mina/mina1/pom.xml (original)
+++ camel/trunk/examples/camel-example-loadbalancing-mina/mina1/pom.xml Fri Apr 23 10:15:52 2010
@@ -22,43 +22,35 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.camel</groupId>
- <artifactId>examples</artifactId>
+ <groupId>org.apache.camel.example</groupId>
+ <artifactId>loadbalancing-parent</artifactId>
<version>2.3-SNAPSHOT</version>
</parent>
<groupId>org.apache.camel.example</groupId>
<artifactId>mina1</artifactId>
<packaging>jar</packaging>
- <version>1.0-SNAPSHOT</version>
- <name>Camel :: Example :: Loadbancing - camel-mina</name>
+ <name>Camel :: Example :: Loadbalancer :: server mina1</name>
<description>An example that show loadbalancing with mina servers (TCP/IP)</description>
-
- <properties>
- <camel-version>2.3-SNAPSHOT</camel-version>
- </properties>
<dependencies>
<dependency>
<groupId>org.apache.camel.example</groupId>
<artifactId>loadbalancing</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>2.3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
- <version>${camel-version}</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring</artifactId>
- <version>${camel-version}</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mina</artifactId>
- <version>${camel-version}</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
@@ -67,12 +59,10 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
- <version>1.5.10</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
- <version>1.5.6</version>
</dependency>
</dependencies>
Modified: camel/trunk/examples/camel-example-loadbalancing-mina/mina2/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-loadbalancing-mina/mina2/pom.xml?rev=937227&r1=937226&r2=937227&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-loadbalancing-mina/mina2/pom.xml (original)
+++ camel/trunk/examples/camel-example-loadbalancing-mina/mina2/pom.xml Fri Apr 23 10:15:52 2010
@@ -22,43 +22,35 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.camel</groupId>
- <artifactId>examples</artifactId>
+ <groupId>org.apache.camel.example</groupId>
+ <artifactId>loadbalancing-parent</artifactId>
<version>2.3-SNAPSHOT</version>
</parent>
<groupId>org.apache.camel.example</groupId>
<artifactId>mina2</artifactId>
<packaging>jar</packaging>
- <version>1.0-SNAPSHOT</version>
- <name>Camel :: Example :: Loadbancing - camel-mina</name>
+ <name>Camel :: Example :: Loadbalancer :: server mina2</name>
<description>An example that show loadbalancing with mina servers (TCP/IP)</description>
- <properties>
- <camel-version>2.3-SNAPSHOT</camel-version>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.camel.example</groupId>
<artifactId>loadbalancing</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>2.3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
- <version>${camel-version}</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring</artifactId>
- <version>${camel-version}</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mina</artifactId>
- <version>${camel-version}</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
@@ -67,12 +59,10 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
- <version>1.5.10</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
- <version>1.5.6</version>
</dependency>
</dependencies>
Added: camel/trunk/examples/camel-example-loadbalancing-mina/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-loadbalancing-mina/pom.xml?rev=937227&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-loadbalancing-mina/pom.xml (added)
+++ camel/trunk/examples/camel-example-loadbalancing-mina/pom.xml Fri Apr 23 10:15:52 2010
@@ -0,0 +1,44 @@
+<?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.
+-->
+
+<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.3-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.camel.example</groupId>
+ <artifactId>loadbalancing-parent</artifactId>
+ <packaging>pom</packaging>
+
+ <name>Camel :: Example :: Loadbancing - parent</name>
+ <description>An example that show loadbalancing with mina servers (TCP/IP)</description>
+
+ <modules>
+ <module>loadbalancing</module>
+ <module>mina1</module>
+ <module>mina2</module>
+ </modules>
+
+
+</project>
Propchange: camel/trunk/examples/camel-example-loadbalancing-mina/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native