<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, Mar 22, 2017 at 4:17 AM Martin Kouba &lt;<a href="mailto:mkouba@redhat.com">mkouba@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt; That project&#39;s META-INF/beans.xml has bean discovery set to none<br class="gmail_msg">
&gt; (<a href="https://github.com/ljnelson/microbean-main/blob/master/src/main/resources/META-INF/beans.xml#L7" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/ljnelson/microbean-main/blob/master/src/main/resources/META-INF/beans.xml#L7</a>),<br class="gmail_msg">
&gt; since there are no beans in that bean archive (it houses only the main<br class="gmail_msg">
&gt; class).  John indicated that this was likely the source of the problem:<br class="gmail_msg">
<br class="gmail_msg">
I don&#39;t think this is the problem. In Weld SE bean archive isolation is<br class="gmail_msg">
enabled by default. Ie. for<br class="gmail_msg">
<a href="https://github.com/ljnelson/microbean-maven-cdi/blob/master/src/main/java/org/microbean/maven/cdi/MavenExtension.java" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/ljnelson/microbean-maven-cdi/blob/master/src/main/java/org/microbean/maven/cdi/MavenExtension.java</a><br class="gmail_msg">
the beans.xml is<br class="gmail_msg">
<a href="https://github.com/ljnelson/microbean-maven-cdi/blob/master/src/main/resources/META-INF/beans.xml" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/ljnelson/microbean-maven-cdi/blob/master/src/main/resources/META-INF/beans.xml</a><br class="gmail_msg"></blockquote><div><br></div><div>Good; that confirms what I expected.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt; Perhaps I have misunderstood bean discovery: I thought that the<br class="gmail_msg">
&gt; discovery mode applied to the bean archive in question alone, not to an<br class="gmail_msg">
&gt; aggregate.<br class="gmail_msg">
<br class="gmail_msg">
What do you mean with &quot;aggregate&quot;? Bean discovery mode is applied to a<br class="gmail_msg">
specific bean archive only.<br class="gmail_msg"></blockquote><div><br></div><div>What I meant was: <i>if</i> I had misunderstood bean discovery, which I have not, then perhaps something about that bean archive&#39;s &quot;none&quot; mode was affecting other bean archives.  But I did not misunderstand bean discovery, so this is moot.</div><div><br></div><div>Best,</div><div>Laird</div></div></div>