<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EstiloDeEmail17
        {mso-style-type:personal-compose;
        font-family:"Arial","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1919054041;
        mso-list-template-ids:10509818;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=PT-BR link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:black'>Morning guys,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:black'>I&#8217;m working at the issue <a
href="https://issues.jboss.org/browse/SEAMINTL-27">https://issues.jboss.org/browse/SEAMINTL-27</a>
and the problem here is caused by an optional dependency.<o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:blue;
background:white'>&lt;</span><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:#A31515;background:white'>dependency</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:blue;
background:white'>&gt;</span><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:35.4pt;text-indent:.6pt'><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:blue;background:white'>&lt;</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#A31515;
background:white'>groupId</span><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:blue;background:white'>&gt;</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black;
background:white'>joda-time</span><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:blue;background:white'>&lt;/</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#A31515;
background:white'>groupId</span><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:blue;background:white'>&gt;<br>
&lt;</span><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:#A31515;background:white'>artifactId</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:blue;background:white'>&gt;</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black;
background:white'>joda-time</span><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:blue;background:white'>&lt;/</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#A31515;
background:white'>artifactId</span><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:blue;background:white'>&gt;</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><br>
<span style='color:blue;background:white'>&lt;</span><span style='color:#A31515;
background:white'>optional</span><span style='color:blue;background:white'>&gt;</span><span
style='color:black;background:white'>true</span><span style='color:blue;
background:white'>&lt;/</span><span style='color:#A31515;background:white'>optional</span><span
style='color:blue;background:white'>&gt;</span><o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:blue;
background:white'>&lt;/</span><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:#A31515;background:white'>dependency</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:blue;
background:white'>&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:black'>So, I was talking with ken, and there´re two suggested approaches:<o:p></o:p></span></p>

<ol start=1 type=1>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo1'><span lang=EN-US style='font-size:12.0pt;
     font-family:"Times New Roman","serif"'>Mark the implementation classes
     that use joda-time with @Veto and require the developer to override that
     setting through XML Config if they want to use them<o:p></o:p></span></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo1'><span lang=EN-US style='font-size:12.0pt;
     font-family:"Times New Roman","serif"'>Mark the set of JDK dateTime and
     joda-time classes as two Alternative options and require the developer to
     specify which one to use.<o:p></o:p></span></li>
</ol>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'>What option
do you think is the better approach? Do you have any other idea?<o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Either
way we require the developer to say what he wants to use, This could be useful
in some situations, but I guess that most of times, people just want to use the
feature regarding what seam uses in its back.<o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'>What do
you think?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

</div>

</body>

</html>