Re: camel-parent pom properties

2015-05-22 Thread Henryk Konsek
Hi,

I would advice to keep Camel BOM imported and import also Spring BOM. Keep
in mind that the order is important here - Spring BOM first, Camel BOM
second. This is actually pretty common approach - to import Spring and
Camel BOMs at the same time. Works like a charm - I'm using this approach
myself. :)

In particular this approach is recommended when working with
camel-spring-boot. The end user should choose his/her Spring stack version
of choice and then just add Camel to the mix.

Cheers!

czw., 21.05.2015 o 16:51 użytkownik Ronny Aerts ronny.ae...@intris.be
napisał:

 Hello,

 This works very fine for everything which has to do with camel (as
 groupid) itself but not for dependencies with other groupid like the one
 below:
 dependencies
 dependency
 groupIdorg.springframework.ws/groupId
 artifactIdspring-ws-security/artifactId
  version${spring-ws-version}/version
 /dependency
 /dependencies
 --
 vriendelijke groeten,
 Ronny Aerts – Intris nv – Wapenstilstandlaan 47, 2600 Berchem, België
 RD Integration Architect
 Prince II certified – ITIL certified
 Tel: +32-3-326.50.75

 -Original Message-
 From: Henryk Konsek [mailto:hekon...@gmail.com]
 Sent: vrijdag 15 mei 2015 17:23
 To: users@camel.apache.org
 Subject: Re: camel-parent pom properties

 Hi,

 The better practice is to import Camel parent as BOM:


 dependencyManagement
   dependnecies
 dependency
   groupIdorg.apache.camel/groupId
   artifactIdcamel-parent/artifactId
   version${camel.version}/version
   typepom/type
   scopeimport/scope
 /dependency
   /dependnecies
 /dependencyManagement

 And then simply:

   dependency
   groupIdorg.apache.camel/groupId
   artifactIdcamel-core/artifactId
 /dependency

 Cheers!

 pt., 15.05.2015 o 15:24 użytkownik Ronny Aerts ronny.ae...@intris.be
 napisał:

 Hello camel community,

 I'm interested in using the maven properties which are defined in the
 camel-parent pom.xml. In order to inherit these maven properties, I need to
 set the parent in my projects to the camel-parent. The point is that my
 projects use other version numbers than those of camel and this results in
 unresolvable camel-core references because the camel-parent uses the
 ${project.version} variable in its dependencies (which is not 2.15.2 in my
 projects).

 dependency
 groupIdorg.apache.camel/groupId
 artifactIdcamel-core/artifactId
 version${project.version}/version
 /dependency

 Is there a workaround for this?

 --
 vriendelijke groeten,
 Ronny Aertsmailto:ronny.ae...@intris.be - Intris nv -
 Wapenstilstandlaan 47, 2600 Berchem, België RD Integration Architect
 Prince IIhttp://nl.wikipedia.org/wiki/PRINCE2 certified - ITIL
 http://nl.wikipedia.org/wiki/Information_Technology_Infrastructure_Library
 
 certified
 Tel: +32-3-326.50.75

 Intris nv
 Wapenstilstandlaan 47
 B-2600 Berchem Tel. +32 3 326 50 75
 Fax +32 3 326 42 23
 www.intris.behttp://www.intris.be/ [
 http://www.intris.be/mail/AEO_Sticker_108pxRGB.jpg] http://www.intris.be

 DISCLAIMER
 This is an e-mail from Intris. The information contained in this
 communication is intended solely for use by the individual or entity to
 whom it is addressed.
 Use of this communication by others is prohibited. If the e-mail message
 was sent to you by mistake, please notify supp...@intris.bemailto:
 supp...@intris.be, destroy it without reading, using, copying or
 disclosing its contents to any other person.
 We accept no liability for damage related to data and/or documents which
 are communicated by electronic mail.
 Intris nv
 Wapenstilstandlaan 47
 B-2600 Berchem  Tel.  +32 3 326 50 75
 Fax  +32 3 326 42 23
 www.intris.behttp://www.intris.be/[
 http://www.intris.be/mail/AEO_Sticker_108pxRGB.jpg] http://www.intris.be

 DISCLAIMER
 This is an e-mail from Intris. The information contained in this
 communication is intended solely for use by the individual or entity to
 whom it is addressed.
 Use of this communication by others is prohibited. If the e-mail message
 was sent to you by mistake, please notify supp...@intris.bemailto:
 supp...@intris.be, destroy it without reading, using, copying or
 disclosing its contents to any other person.
 We accept no liability for damage related to data and/or documents which
 are communicated by electronic mail.



Re: camel-parent pom properties

2015-05-22 Thread Henryk Konsek
To be exact:

dependencyManagement
dependencies
!-- BOMs --
dependency
groupIdorg.springframework.boot/groupId
artifactIdspring-boot-dependencies/artifactId
version${spring-boot.version}/version
typepom/type
scopeimport/scope
/dependency
dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-parent/artifactId
version${camel.version}/version
typepom/type
scopeimport/scope
/dependency
...

Regarding Spring version for Camel - just check which version of Spring is
used with the given version of Camel. Unfortunately we can't just import
Spring BOM into Camel BOM, because for example OSGi deployments might go
crazy.

Cheers.

pt., 22.05.2015 o 16:41 użytkownik Ronny Aerts ronny.ae...@intris.be
napisał:

Hello,

I understand your answer about importing the spring bom. I assume you
import it as follows:
dependency
groupIdorg.springframework/groupId
artifactIdspring-framework-bom/artifactId
version4.1.6.RELEASE/version
/dependency

The point with this is that you have to choose the spring version yourself
while camel also made a choice about the spring version which I would like
to follow.

--
vriendelijke groeten,
Ronny Aerts – Intris nv – Wapenstilstandlaan 47, 2600 Berchem, België
RD Integration Architect
Prince II certified – ITIL certified
Tel: +32-3-326.50.75

-Original Message-
From: Henryk Konsek [mailto:hekon...@gmail.com]
Sent: vrijdag 22 mei 2015 9:56
To: users@camel.apache.org
Subject: Re: camel-parent pom properties

Hi,

I would advice to keep Camel BOM imported and import also Spring BOM. Keep
in mind that the order is important here - Spring BOM first, Camel BOM
second. This is actually pretty common approach - to import Spring and
Camel BOMs at the same time. Works like a charm - I'm using this approach
myself. :)

In particular this approach is recommended when working with
camel-spring-boot. The end user should choose his/her Spring stack version
of choice and then just add Camel to the mix.

Cheers!

czw., 21.05.2015 o 16:51 użytkownik Ronny Aerts ronny.ae...@intris.be
napisał:

 Hello,

 This works very fine for everything which has to do with camel (as
 groupid) itself but not for dependencies with other groupid like the
 one
 below:
 dependencies
 dependency
 groupIdorg.springframework.ws/groupId
 artifactIdspring-ws-security/artifactId
 version${spring-ws-version}/version
 /dependency
 /dependencies
 --
 vriendelijke groeten,
 Ronny Aerts – Intris nv – Wapenstilstandlaan 47, 2600 Berchem, België
 RD Integration Architect Prince II certified – ITIL certified
 Tel: +32-3-326.50.75

 -Original Message-
 From: Henryk Konsek [mailto:hekon...@gmail.com]
 Sent: vrijdag 15 mei 2015 17:23
 To: users@camel.apache.org
 Subject: Re: camel-parent pom properties

 Hi,

 The better practice is to import Camel parent as BOM:


 dependencyManagement
 dependnecies
 dependency
 groupIdorg.apache.camel/groupId
 artifactIdcamel-parent/artifactId
 version${camel.version}/version
 typepom/type
 scopeimport/scope
 /dependency
 /dependnecies
 /dependencyManagement

 And then simply:

 dependency
 groupIdorg.apache.camel/groupId
 artifactIdcamel-core/artifactId
 /dependency

 Cheers!

 pt., 15.05.2015 o 15:24 użytkownik Ronny Aerts ronny.ae...@intris.be
 napisał:

 Hello camel community,

 I'm interested in using the maven properties which are defined in the
 camel-parent pom.xml. In order to inherit these maven properties, I
 need to set the parent in my projects to the camel-parent. The point
 is that my projects use other version numbers than those of camel and
 this results in unresolvable camel-core references because the
 camel-parent uses the ${project.version} variable in its dependencies
 (which is not 2.15.2 in my projects).

 dependency
 groupIdorg.apache.camel/groupId
 artifactIdcamel-core/artifactId
 version${project.version}/version
 /dependency

 Is there a workaround for this?

 --
 vriendelijke groeten,
 Ronny Aertsmailto:ronny.ae...@intris.be - Intris nv -
 Wapenstilstandlaan 47, 2600 Berchem, België RD Integration Architect
 Prince IIhttp://nl.wikipedia.org/wiki/PRINCE2 certified - ITIL
 http://nl.wikipedia.org/wiki/Information_Technology_Infrastructure_Lib
 rary
 
 certified
 Tel: +32-3-326.50.75

 Intris nv
 Wapenstilstandlaan 47
 B-2600 Berchem Tel. +32 3 326 50 75
 Fax +32 3 326 42 23
 www.intris.behttp://www.intris.be/ [
 http://www.intris.be/mail/AEO_Sticker_108pxRGB.jpg]
 http://www.intris.be

 DISCLAIMER
 This is an e-mail from Intris. The information contained in this
 communication is intended solely for use by the individual or entity
 to whom it is addressed.
 Use of this communication by others is prohibited. If the e-mail
 message was sent to you by mistake, please notify supp...@intris.be
mailto:
 supp...@intris.be, destroy it without reading, using, copying or
 disclosing its contents to any other person.
 We accept no liability for damage related to data and/or documents
 which are communicated by electronic mail.
 Intris nv
 Wapenstilstandlaan 47
 B-2600

RE: camel-parent pom properties

2015-05-22 Thread Ronny Aerts
Hello,

I understand your answer about importing the spring bom. I assume you import it 
as follows:
dependency
groupIdorg.springframework/groupId
artifactIdspring-framework-bom/artifactId
version4.1.6.RELEASE/version
/dependency

The point with this is that you have to choose the spring version yourself 
while camel also made a choice about the spring version which I would like to 
follow.

--
vriendelijke groeten,
Ronny Aerts – Intris nv – Wapenstilstandlaan 47, 2600 Berchem, België
RD Integration Architect
Prince II certified – ITIL certified
Tel: +32-3-326.50.75

-Original Message-
From: Henryk Konsek [mailto:hekon...@gmail.com]
Sent: vrijdag 22 mei 2015 9:56
To: users@camel.apache.org
Subject: Re: camel-parent pom properties

Hi,

I would advice to keep Camel BOM imported and import also Spring BOM. Keep in 
mind that the order is important here - Spring BOM first, Camel BOM second. 
This is actually pretty common approach - to import Spring and Camel BOMs at 
the same time. Works like a charm - I'm using this approach myself. :)

In particular this approach is recommended when working with camel-spring-boot. 
The end user should choose his/her Spring stack version of choice and then just 
add Camel to the mix.

Cheers!

czw., 21.05.2015 o 16:51 użytkownik Ronny Aerts ronny.ae...@intris.be
napisał:

 Hello,

 This works very fine for everything which has to do with camel (as
 groupid) itself but not for dependencies with other groupid like the
 one
 below:
 dependencies
 dependency
 groupIdorg.springframework.ws/groupId
 artifactIdspring-ws-security/artifactId
  version${spring-ws-version}/version
 /dependency
 /dependencies
 --
 vriendelijke groeten,
 Ronny Aerts – Intris nv – Wapenstilstandlaan 47, 2600 Berchem, België
 RD Integration Architect Prince II certified – ITIL certified
 Tel: +32-3-326.50.75

 -Original Message-
 From: Henryk Konsek [mailto:hekon...@gmail.com]
 Sent: vrijdag 15 mei 2015 17:23
 To: users@camel.apache.org
 Subject: Re: camel-parent pom properties

 Hi,

 The better practice is to import Camel parent as BOM:


 dependencyManagement
   dependnecies
 dependency
   groupIdorg.apache.camel/groupId
   artifactIdcamel-parent/artifactId
   version${camel.version}/version
   typepom/type
   scopeimport/scope
 /dependency
   /dependnecies
 /dependencyManagement

 And then simply:

   dependency
   groupIdorg.apache.camel/groupId
   artifactIdcamel-core/artifactId
 /dependency

 Cheers!

 pt., 15.05.2015 o 15:24 użytkownik Ronny Aerts ronny.ae...@intris.be
 napisał:

 Hello camel community,

 I'm interested in using the maven properties which are defined in the
 camel-parent pom.xml. In order to inherit these maven properties, I
 need to set the parent in my projects to the camel-parent. The point
 is that my projects use other version numbers than those of camel and
 this results in unresolvable camel-core references because the
 camel-parent uses the ${project.version} variable in its dependencies
 (which is not 2.15.2 in my projects).

 dependency
 groupIdorg.apache.camel/groupId
 artifactIdcamel-core/artifactId
 version${project.version}/version
 /dependency

 Is there a workaround for this?

 --
 vriendelijke groeten,
 Ronny Aertsmailto:ronny.ae...@intris.be - Intris nv -
 Wapenstilstandlaan 47, 2600 Berchem, België RD Integration Architect
 Prince IIhttp://nl.wikipedia.org/wiki/PRINCE2 certified - ITIL
 http://nl.wikipedia.org/wiki/Information_Technology_Infrastructure_Lib
 rary
 
 certified
 Tel: +32-3-326.50.75

 Intris nv
 Wapenstilstandlaan 47
 B-2600 Berchem Tel. +32 3 326 50 75
 Fax +32 3 326 42 23
 www.intris.behttp://www.intris.be/ [
 http://www.intris.be/mail/AEO_Sticker_108pxRGB.jpg]
 http://www.intris.be

 DISCLAIMER
 This is an e-mail from Intris. The information contained in this
 communication is intended solely for use by the individual or entity
 to whom it is addressed.
 Use of this communication by others is prohibited. If the e-mail
 message was sent to you by mistake, please notify supp...@intris.bemailto:
 supp...@intris.be, destroy it without reading, using, copying or
 disclosing its contents to any other person.
 We accept no liability for damage related to data and/or documents
 which are communicated by electronic mail.
 Intris nv
 Wapenstilstandlaan 47
 B-2600 Berchem  Tel.  +32 3 326 50 75
 Fax  +32 3 326 42 23
 www.intris.behttp://www.intris.be/[
 http://www.intris.be/mail/AEO_Sticker_108pxRGB.jpg]
 http://www.intris.be

 DISCLAIMER
 This is an e-mail from Intris. The information contained in this
 communication is intended solely for use by the individual or entity
 to whom it is addressed.
 Use of this communication by others is prohibited. If the e-mail
 message was sent to you by mistake, please notify supp...@intris.bemailto:
 supp...@intris.be, destroy it without reading, using, copying or
 disclosing its contents to any other person.
 We accept no liability for damage related to data

RE: camel-parent pom properties

2015-05-21 Thread Ronny Aerts
Hello,

This works very fine for everything which has to do with camel (as groupid) 
itself but not for dependencies with other groupid like the one below:
dependencies
dependency
groupIdorg.springframework.ws/groupId
artifactIdspring-ws-security/artifactId
 version${spring-ws-version}/version
/dependency
/dependencies
--
vriendelijke groeten,
Ronny Aerts – Intris nv – Wapenstilstandlaan 47, 2600 Berchem, België
RD Integration Architect
Prince II certified – ITIL certified
Tel: +32-3-326.50.75

-Original Message-
From: Henryk Konsek [mailto:hekon...@gmail.com]
Sent: vrijdag 15 mei 2015 17:23
To: users@camel.apache.org
Subject: Re: camel-parent pom properties

Hi,

The better practice is to import Camel parent as BOM:


dependencyManagement
  dependnecies
dependency
  groupIdorg.apache.camel/groupId
  artifactIdcamel-parent/artifactId
  version${camel.version}/version
  typepom/type
  scopeimport/scope
/dependency
  /dependnecies
/dependencyManagement

And then simply:

  dependency
  groupIdorg.apache.camel/groupId
  artifactIdcamel-core/artifactId
/dependency

Cheers!

pt., 15.05.2015 o 15:24 użytkownik Ronny Aerts ronny.ae...@intris.be
napisał:

Hello camel community,

I'm interested in using the maven properties which are defined in the 
camel-parent pom.xml. In order to inherit these maven properties, I need to set 
the parent in my projects to the camel-parent. The point is that my projects 
use other version numbers than those of camel and this results in unresolvable 
camel-core references because the camel-parent uses the ${project.version} 
variable in its dependencies (which is not 2.15.2 in my projects).

dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-core/artifactId
version${project.version}/version
/dependency

Is there a workaround for this?

--
vriendelijke groeten,
Ronny Aertsmailto:ronny.ae...@intris.be - Intris nv - Wapenstilstandlaan 47, 
2600 Berchem, België RD Integration Architect Prince 
IIhttp://nl.wikipedia.org/wiki/PRINCE2 certified - ITIL 
http://nl.wikipedia.org/wiki/Information_Technology_Infrastructure_Library
certified
Tel: +32-3-326.50.75

Intris nv
Wapenstilstandlaan 47
B-2600 Berchem Tel. +32 3 326 50 75
Fax +32 3 326 42 23
www.intris.behttp://www.intris.be/ [
http://www.intris.be/mail/AEO_Sticker_108pxRGB.jpg] http://www.intris.be

DISCLAIMER
This is an e-mail from Intris. The information contained in this communication 
is intended solely for use by the individual or entity to whom it is addressed.
Use of this communication by others is prohibited. If the e-mail message was 
sent to you by mistake, please notify supp...@intris.bemailto:
supp...@intris.be, destroy it without reading, using, copying or disclosing 
its contents to any other person.
We accept no liability for damage related to data and/or documents which are 
communicated by electronic mail.
Intris nv
Wapenstilstandlaan 47
B-2600 Berchem  Tel.  +32 3 326 50 75
Fax  +32 3 326 42 23
www.intris.behttp://www.intris.be/
[http://www.intris.be/mail/AEO_Sticker_108pxRGB.jpg] http://www.intris.be

DISCLAIMER
This is an e-mail from Intris. The information contained in this communication 
is intended solely for use by the individual or entity to whom it is addressed.
Use of this communication by others is prohibited. If the e-mail message was 
sent to you by mistake, please notify 
supp...@intris.bemailto:supp...@intris.be, destroy it without reading, using, 
copying or disclosing its contents to any other person.
We accept no liability for damage related to data and/or documents which are 
communicated by electronic mail.


camel-parent pom properties

2015-05-15 Thread Ronny Aerts
Hello camel community,

I'm interested in using the maven properties which are defined in the 
camel-parent pom.xml. In order to inherit these maven properties, I need to set 
the parent in my projects to the camel-parent. The point is that my projects 
use other version numbers than those of camel and this results in unresolvable 
camel-core references because the camel-parent uses the ${project.version} 
variable in its dependencies (which is not 2.15.2 in my projects).

  dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-core/artifactId
version${project.version}/version
  /dependency

Is there a workaround for this?

--
vriendelijke groeten,
Ronny Aertsmailto:ronny.ae...@intris.be - Intris nv - Wapenstilstandlaan 47, 
2600 Berchem, België
RD Integration Architect
Prince IIhttp://nl.wikipedia.org/wiki/PRINCE2 certified - 
ITILhttp://nl.wikipedia.org/wiki/Information_Technology_Infrastructure_Library
 certified
Tel: +32-3-326.50.75

Intris nv
Wapenstilstandlaan 47
B-2600 Berchem  Tel.  +32 3 326 50 75
Fax  +32 3 326 42 23
www.intris.behttp://www.intris.be/
[http://www.intris.be/mail/AEO_Sticker_108pxRGB.jpg] http://www.intris.be

DISCLAIMER
This is an e-mail from Intris. The information contained in this communication 
is intended solely for use by the individual or entity to whom it is addressed.
Use of this communication by others is prohibited. If the e-mail message was 
sent to you by mistake, please notify 
supp...@intris.bemailto:supp...@intris.be, destroy it without reading, using, 
copying or disclosing its contents to any other person.
We accept no liability for damage related to data and/or documents which are 
communicated by electronic mail.


Re: camel-parent pom properties

2015-05-15 Thread Henryk Konsek
Hi,

The better practice is to import Camel parent as BOM:


dependencyManagement
  dependnecies
dependency
  groupIdorg.apache.camel/groupId
  artifactIdcamel-parent/artifactId
  version${camel.version}/version
  typepom/type
  scopeimport/scope
/dependency
  /dependnecies
/dependencyManagement

And then simply:

  dependency
  groupIdorg.apache.camel/groupId
  artifactIdcamel-core/artifactId
/dependency

Cheers!

pt., 15.05.2015 o 15:24 użytkownik Ronny Aerts ronny.ae...@intris.be
napisał:

Hello camel community,

I'm interested in using the maven properties which are defined in the
camel-parent pom.xml. In order to inherit these maven properties, I need to
set the parent in my projects to the camel-parent. The point is that my
projects use other version numbers than those of camel and this results in
unresolvable camel-core references because the camel-parent uses the
${project.version} variable in its dependencies (which is not 2.15.2 in my
projects).

dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-core/artifactId
version${project.version}/version
/dependency

Is there a workaround for this?

--
vriendelijke groeten,
Ronny Aertsmailto:ronny.ae...@intris.be - Intris nv - Wapenstilstandlaan
47, 2600 Berchem, België
RD Integration Architect
Prince IIhttp://nl.wikipedia.org/wiki/PRINCE2 certified - ITIL
http://nl.wikipedia.org/wiki/Information_Technology_Infrastructure_Library
certified
Tel: +32-3-326.50.75

Intris nv
Wapenstilstandlaan 47
B-2600 Berchem Tel. +32 3 326 50 75
Fax +32 3 326 42 23
www.intris.behttp://www.intris.be/ [
http://www.intris.be/mail/AEO_Sticker_108pxRGB.jpg] http://www.intris.be

DISCLAIMER
This is an e-mail from Intris. The information contained in this
communication is intended solely for use by the individual or entity to
whom it is addressed.
Use of this communication by others is prohibited. If the e-mail message
was sent to you by mistake, please notify supp...@intris.bemailto:
supp...@intris.be, destroy it without reading, using, copying or
disclosing its contents to any other person.
We accept no liability for damage related to data and/or documents which
are communicated by electronic mail.