<div dir="ltr">Sounds great.<div><br></div><div>Regards,</div><div>Michael</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 16, 2017 at 8:33 AM, Gunnar Morling <span dir="ltr">&lt;<a href="mailto:gunnar@hibernate.org" target="_blank">gunnar@hibernate.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;ve been discussing the issue of the module name a bit with Emmanuel<br>
and we concluded that a non-binding recommendation in an appendix to<br>
the BV 2.0 spec should be alright. I&#39;ve filed PR<br>
<a href="https://github.com/beanvalidation/beanvalidation-spec/pull/174" rel="noreferrer" target="_blank">https://github.com/<wbr>beanvalidation/beanvalidation-<wbr>spec/pull/174</a> for it,<br>
saying:<br>
<br>
    &quot;While not specified by this specification, Bean Validation<br>
providers are encouraged to use the module name `java.validation`<br>
in case they provide the Bean Validation API as a module for the Java<br>
Platform Module System (as defined by JSR 376).<br>
A mandatory module name - which may be `java.validation` or another<br>
one - will be defined in a future revision of this specification.&quot;<br>
<br>
This leaves the door open for choosing another value - and making it<br>
mandatory - down the road, while letting 2.0 providers converge on one<br>
non-officially sanctioned name for the time being (which is needed for<br>
the migration between providers).<br>
<span class="HOEnZb"><font color="#888888"><br>
--Gunnar<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
2017-05-09 18:50 GMT+02:00 Michael Nascimento &lt;<a href="mailto:misterm@gmail.com">misterm@gmail.com</a>&gt;:<br>
&gt; In the JPA mailing list, Bill Shannon and Linda were saying specs shouldn&#39;t<br>
&gt; mention anything about modules at this point. Some suggested this could be<br>
&gt; done at the next MR. It&#39;s better to align with them then.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Michael<br>
&gt;<br>
&gt; On Tue, May 9, 2017 at 10:52 AM, Gunnar Morling &lt;<a href="mailto:gunnar@hibernate.org">gunnar@hibernate.org</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; So &quot;java.validation&quot; should work (as a recommendation for now).<br>
&gt;&gt;<br>
&gt;&gt; But I&#39;ve learned that Oracle-led JSRs (e.g. JAX-RS 2.1) don&#39;t mention<br>
&gt;&gt; anything in the spec (JAX-RS reference API just has a module-info.java<br>
&gt;&gt; with a name they chose). We could do the same, and just have that<br>
&gt;&gt; &quot;recommendation&quot; by putting this name into the reference<br>
&gt;&gt; validation-api JAR, hoping that alternative API providers (Geronimo)<br>
&gt;&gt; would do the same.<br>
&gt;&gt;<br>
&gt;&gt; Personally I don&#39;t think there&#39;s much to loose by putting a<br>
&gt;&gt; recommendation into a spec appendix. If needed, the name can change<br>
&gt;&gt; when making it a mandatory thing in a future revision.<br>
&gt;&gt;<br>
&gt;&gt; Thoughts?<br>
&gt;&gt;<br>
&gt;&gt; --Gunnar<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 2017-05-03 22:35 GMT+02:00 Emmanuel Bernard &lt;<a href="mailto:emmanuel@hibernate.org">emmanuel@hibernate.org</a>&gt;:<br>
&gt;&gt; &gt; -1 on the EE prefix. Bean Validation is not (only) a EE spec.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On 3 May 2017, at 20:26, Michael Nascimento &lt;<a href="mailto:misterm@gmail.com">misterm@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I know it&#39;s late to reply to this, but seems fine. I&#39;d consult the Java<br>
&gt;&gt; &gt; EE<br>
&gt;&gt; &gt; EG just to make sure they don&#39;t want to use a <a href="http://javax.ee" rel="noreferrer" target="_blank">javax.ee</a> prefix (which<br>
&gt;&gt; &gt; seems<br>
&gt;&gt; &gt; odd, though). Using the predominant/&quot;root&quot; package for the module is<br>
&gt;&gt; &gt; what<br>
&gt;&gt; &gt; I&#39;d recommend too.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Regards,<br>
&gt;&gt; &gt; Michael<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Fri, Apr 21, 2017 at 10:22 AM, Gunnar Morling &lt;<a href="mailto:gunnar@hibernate.org">gunnar@hibernate.org</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Hi,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Java 9 is still in the works, so it&#39;s too early to put anything final<br>
&gt;&gt; &gt;&gt; into the BV spec, but should we add a recommended module name for API<br>
&gt;&gt; &gt;&gt; modules?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; My thinking is to have a short appendix stating:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;     &quot;Implementors that wish to provide the Bean Validation API in form<br>
&gt;&gt; &gt;&gt; of a Java 9 module,<br>
&gt;&gt; &gt;&gt;      should use the module name &quot;javax.validation&quot;. A mandatory module<br>
&gt;&gt; &gt;&gt; name will be<br>
&gt;&gt; &gt;&gt;      defined in a future revision of this specification&quot;.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; A commonly agreed on module name is required by Jigsaw to ensure<br>
&gt;&gt; &gt;&gt; different API modules (e.g. the reference one and the one provided by<br>
&gt;&gt; &gt;&gt; Apache) are interchangeable.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I expect further changes to the spec to support Java 9 down the road<br>
&gt;&gt; &gt;&gt; (e.g. to resolve message bundles in client modules and to provide a<br>
&gt;&gt; &gt;&gt; way for passing in a Lookup granting private access (see [1]), but<br>
&gt;&gt; &gt;&gt; it&#39;s nothing we can bake into the spec yet.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Thoughts?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; --Gunnar<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; [1]<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; <a href="http://in.relation.to/2017/04/11/accessing-private-state-of-java-9-modules/" rel="noreferrer" target="_blank">http://in.relation.to/2017/04/<wbr>11/accessing-private-state-of-<wbr>java-9-modules/</a><br>
&gt;&gt; &gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; &gt;&gt; beanvalidation-dev mailing list<br>
&gt;&gt; &gt;&gt; <a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.<wbr>jboss.org</a><br>
&gt;&gt; &gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/<wbr>beanvalidation-dev</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; ______________________________<wbr>_________________<br>
&gt;&gt; &gt; beanvalidation-dev mailing list<br>
&gt;&gt; &gt; <a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.<wbr>jboss.org</a><br>
&gt;&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/<wbr>beanvalidation-dev</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; ______________________________<wbr>_________________<br>
&gt;&gt; &gt; beanvalidation-dev mailing list<br>
&gt;&gt; &gt; <a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.<wbr>jboss.org</a><br>
&gt;&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/<wbr>beanvalidation-dev</a><br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; beanvalidation-dev mailing list<br>
&gt;&gt; <a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.<wbr>jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/<wbr>beanvalidation-dev</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; beanvalidation-dev mailing list<br>
&gt; <a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.<wbr>jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/<wbr>beanvalidation-dev</a><br>
______________________________<wbr>_________________<br>
beanvalidation-dev mailing list<br>
<a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.<wbr>jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/<wbr>beanvalidation-dev</a><br>
</div></div></blockquote></div><br></div>