<div dir="auto"><div dir="ltr">Yes, please find attached a ZIP containing two addons.<div><br></div><div>To reproduce it, follow the steps:</div><div><br></div><div>1) Unzip the attached file (say in /tmp)</div><div>2) Start Forge</div><div>3) Run addon-build-and-install --project-root /tmp/infinispan</div><div>4) Run addon-build-and-install --project-root /tmp/foo</div><div>5) Stop Forge and start it again</div><div>6) In another bash window, run tail -f ~/.forge/log/forge.log  and you should see the Weld output.</div><div>7) If no errors are found, running the command &quot;x&quot; should print something</div><div><br></div><div>@Matej, same error using @Priority :(</div><div><br></div><div>I am still investigating</div><div class="gmail_extra"><br clear="all"><div><div class="m_-7307059955841161269gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Best Regards, <div><div dir="ltr"><div><div dir="ltr"><div><p style="font-weight:bold;margin:0;padding:0;font-size:14px;text-transform:uppercase;margin-bottom:0"><span></span></p><p style="font-weight:bold;margin:0;padding:0;font-size:14px;text-transform:uppercase;margin-bottom:0"><span><br></span></p><br><div>
<p style="font-weight:bold;margin:0;padding:0;font-size:14px;text-transform:uppercase;margin-bottom:0"><span>George</span> <span>Gastaldi</span></p>
<p style="font-weight:normal;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>Principal Software Engineer</span></p>
<p style="font-weight:normal;margin:0;font-size:10px;color:#999"><a style="color:#0088ce;font-size:10px;margin:0;text-decoration:none;font-family:&#39;overpass&#39;,sans-serif" href="https://www.redhat.com" target="_blank">Red Hat <span> </span></a></p>
<span style="font-size:10px;margin:0px;color:rgb(153,153,153)"><p style="font-size:10px;margin:0">Remote</p></span>
<span><p style="font-size:10px;margin:0;color:#999">Joinville - Santa Catarina</p></span>
<p style="font-weight:normal;margin:0px 0px 6px;font-size:10px;color:rgb(153,153,153)"><span style="margin:0px;padding:0px">
<a style="color:#0088ce;font-size:10px;margin:0;text-decoration:none;font-family:&#39;overpass&#39;,sans-serif" href="mailto:ggastald@redhat.com" target="_blank">ggastald@redhat.com</a>   </span>
<span>M: <a href="tel:+55-47-99711-1000" style="color:#0088ce;font-size:11px;margin:0;text-decoration:none;font-family:&#39;overpass&#39;,sans-serif" target="_blank">+55-47-99711-1000</a></span><span><span></span></span></p>
<table border="0"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"> <img src="https://www.redhat.com/files/brand/email/sig-redhat.png" height="auto" width="90"></a> </td>
<td style="font-weight:normal;font-size:10px">
<div><a href="https://redhat.com/trusted" style="text-decoration:none;color:#c00;font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></div>

</td></tr></tbody></table>
<div style="font-weight:normal;font-size:10px">
<div style="color:rgb(153,153,153)"><a href="https://twitter.com/redhatnews" title="twitter" style="background-image:url(https://www.redhat.com/files/brand/email/sm-twitter.png);height:20px;text-decoration:none;color:#777;display:inline-block;line-height:20px;padding-left:16px;background-repeat:no-repeat;background-position:0 50%" target="_blank">@redhatnews</a>  
  <a href="https://www.linkedin.com/company/red-hat" title="LinkedIn" style="background-image:url(https://www.redhat.com/files/brand/email/sm-linkedin.png);height:20px;text-decoration:none;color:#777;display:inline-block;line-height:20px;padding-left:16px;background-repeat:no-repeat;background-position:0 50%" target="_blank">Red Hat</a>
    <a href="https://www.facebook.com/RedHatInc" title="Facebook" style="background-image:url(https://www.redhat.com/files/brand/email/sm-facebook.png);height:20px;text-decoration:none;color:#777;display:inline-block;line-height:20px;padding-left:16px;background-repeat:no-repeat;background-position:0 50%" target="_blank">Red Hat</a> </div>


</div>
</div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Jul 18, 2017 at 10:12 AM, Antoine Sabot-Durand <span dir="ltr">&lt;<a href="mailto:asd@redhat.com" target="_blank">asd@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi George,<div><br></div><div>Can you send us some code that we can easily run to reproduce your issue ?</div><div><br></div><div>Thx</div><span class="m_-7307059955841161269HOEnZb"><font color="#888888"><div><br></div><div>Antoine</div></font></span></div><div class="m_-7307059955841161269HOEnZb"><div class="m_-7307059955841161269h5"><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 18, 2017 at 9:50 AM Matej Novotny &lt;<a href="mailto:manovotn@redhat.com" target="_blank">manovotn@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">Hi George<br>
<br>
Forge addons are far from my range of expertise so I am just going to shoot in the dark here :)<br>
<br>
Make sure you have beans.xml (with discovery mode all and enabled interceptor) in both JARS - the one which contains the interceptor, as well as the one trying to use it.<br>
<br>
If that doesn&#39;t work, try to tackle the interceptor a bit and use @Priority as a means of enablement (this enables interceptor globally as opposed to beans.xml which does that on per-bean-archive basis).<br>
Might not be what you seek but might also give us some additional information on whats going wrong.<br>
<br>
Matej<br>
<br>
----- Original Message -----<br>
&gt; From: &quot;George Gastaldi&quot; &lt;<a href="mailto:ggastald@redhat.com" target="_blank">ggastald@redhat.com</a>&gt;<br>
&gt; To: &quot;Weld&quot; &lt;<a href="mailto:weld-dev@lists.jboss.org" target="_blank">weld-dev@lists.jboss.org</a>&gt;<br>
&gt; Sent: Tuesday, July 18, 2017 1:37:15 AM<br>
&gt; Subject: [weld-dev] WELD-001417 while enabling interceptors in JBoss Forge    addons<br>
&gt;<br>
&gt; Hello Welders !<br>
&gt;<br>
&gt; Not sure if this is the right mailing list, but worth a shot ;)<br>
&gt;<br>
&gt; I am trying to enable a CDI interceptor inside JBoss Forge addons but I am<br>
&gt; facing a hard time making Weld understand that. The interceptor classes are<br>
&gt; in the classpath but I keep getting this error:<br>
&gt;<br>
&gt; WELD-001417: Enabled interceptor class<br>
&gt; org.jboss.forge.addon.infinisp<wbr>an.MyInterceptor<br>
&gt; (&lt;class&gt;org.jboss.forge.addon.<wbr>infinispan.MyInterceptor&lt;/clas<wbr>s&gt; in<br>
&gt; jar:file:/home/ggastald/.forge<wbr>/addons/org-foo-foo-1-0-0-<wbr>SNAPSHOT/foo-1.0.0-SNAPSHOT-fo<wbr>rge-addon.jar!/META-INF/beans.<wbr>xml@7)<br>
&gt; does not match an interceptor bean: the class is not found, or not annotated<br>
&gt; with @Interceptor and still not registered through a portable extension, or<br>
&gt; not annotated with @Dependent inside an implicit bean archive<br>
&gt;<br>
&gt; I have beans.xml with annotated-mode=&quot;all&quot;. I even added the @Dependent to<br>
&gt; the interceptor class, but no luck. The current thread ClassLoader can<br>
&gt; resolve the interceptor class also.<br>
&gt;<br>
&gt; I&#39;ve opened <a href="https://issues.jboss.org/browse/FURNACE-145" rel="noreferrer" target="_blank">https://issues.jboss.org/brows<wbr>e/FURNACE-145</a> with more information<br>
&gt; on the subject, in case someone feels brave enough to help me out on this<br>
&gt; :).<br>
&gt;<br>
&gt; I appreciate any help!<br>
&gt;<br>
&gt; Best Regards,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; George Gastaldi<br>
&gt;<br>
&gt; Principal Software Engineer<br>
&gt;<br>
&gt; Red Hat<br>
&gt;<br>
&gt; Remote<br>
&gt;<br>
&gt; Joinville - Santa Catarina<br>
&gt;<br>
&gt; <a href="mailto:ggastald@redhat.com" target="_blank">ggastald@redhat.com</a> M: <a href="tel:+55%2047%2099711-1000" value="+5547997111000" target="_blank">+55-47-99711-1000</a><br>
&gt; TRIED. TESTED. TRUSTED.<br>
&gt; @redhatnews Red Hat Red Hat<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; weld-dev mailing list<br>
&gt; <a href="mailto:weld-dev@lists.jboss.org" target="_blank">weld-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/weld-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/weld-dev</a><br>
______________________________<wbr>_________________<br>
weld-dev mailing list<br>
<a href="mailto:weld-dev@lists.jboss.org" target="_blank">weld-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/weld-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/weld-dev</a><br>
</blockquote></div>
</div></div></blockquote></div><br></div></div></div>