dep error?

2014-08-04 Thread Romain Manni-Bucau
Hi guys

just to mention 2.2.4 has:

 40 [INFO] +- org.apache.myfaces.core:myfaces-api:jar:2.2.4:compile
 41 [INFO] |  +-
org.apache.geronimo.specs:geronimo-jcdi_1.0_spec:jar:1.0:compile
 42 [INFO] |  \-
org.apache.geronimo.specs:geronimo-atinject_1.0_spec:jar:1.0:compile

Wouldn't it be better to set geronimo deps as provided?


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


Re: dep error?

2014-08-04 Thread Leonardo Uribe
Hi

Instead use provided, these dependencies are optional:

!-- CDI 1.0 --
dependency
groupIdorg.apache.geronimo.specs/groupId
artifactIdgeronimo-jcdi_1.0_spec/artifactId
version1.0/version
scopecompile/scope
optionaltrue/optional
/dependency

!-- Injection --
dependency
groupIdorg.apache.geronimo.specs/groupId
artifactIdgeronimo-atinject_1.0_spec/artifactId
version1.0/version
scopecompile/scope
optionaltrue/optional
/dependency

It is better to let it like that, because it is valid to use JSF 2.2
artifacts without CDI.

regards,

Leonardo Uribe

2014-08-04 16:00 GMT-05:00 Romain Manni-Bucau rmannibu...@gmail.com:
 Hi guys

 just to mention 2.2.4 has:

  40 [INFO] +- org.apache.myfaces.core:myfaces-api:jar:2.2.4:compile
  41 [INFO] |  +-
 org.apache.geronimo.specs:geronimo-jcdi_1.0_spec:jar:1.0:compile
  42 [INFO] |  \-
 org.apache.geronimo.specs:geronimo-atinject_1.0_spec:jar:1.0:compile

 Wouldn't it be better to set geronimo deps as provided?


 Romain Manni-Bucau
 Twitter: @rmannibucau
 Blog: http://rmannibucau.wordpress.com/
 LinkedIn: http://fr.linkedin.com/in/rmannibucau
 Github: https://github.com/rmannibucau


Re: dep error?

2014-08-04 Thread Romain Manni-Bucau
You are right but in TomEE and because of it we need to exclude these
optional dependencies cause they are included otherwise because of assembly
maven plugin.

Provided is semantically weong but behavior-ly right.
Le 5 août 2014 02:50, Leonardo Uribe lu4...@gmail.com a écrit :

 Hi

 Instead use provided, these dependencies are optional:

 !-- CDI 1.0 --
 dependency
 groupIdorg.apache.geronimo.specs/groupId
 artifactIdgeronimo-jcdi_1.0_spec/artifactId
 version1.0/version
 scopecompile/scope
 optionaltrue/optional
 /dependency

 !-- Injection --
 dependency
 groupIdorg.apache.geronimo.specs/groupId
 artifactIdgeronimo-atinject_1.0_spec/artifactId
 version1.0/version
 scopecompile/scope
 optionaltrue/optional
 /dependency

 It is better to let it like that, because it is valid to use JSF 2.2
 artifacts without CDI.

 regards,

 Leonardo Uribe

 2014-08-04 16:00 GMT-05:00 Romain Manni-Bucau rmannibu...@gmail.com:
  Hi guys
 
  just to mention 2.2.4 has:
 
   40 [INFO] +- org.apache.myfaces.core:myfaces-api:jar:2.2.4:compile
   41 [INFO] |  +-
  org.apache.geronimo.specs:geronimo-jcdi_1.0_spec:jar:1.0:compile
   42 [INFO] |  \-
  org.apache.geronimo.specs:geronimo-atinject_1.0_spec:jar:1.0:compile
 
  Wouldn't it be better to set geronimo deps as provided?
 
 
  Romain Manni-Bucau
  Twitter: @rmannibucau
  Blog: http://rmannibucau.wordpress.com/
  LinkedIn: http://fr.linkedin.com/in/rmannibucau
  Github: https://github.com/rmannibucau