<html><body bgcolor="#FFFFFF"><div>I was thinking Plugin jar having references to dependent jars via manifest.mf<br><br>/max (sent from my phone)<div><br></div></div><div><br>On 12/04/2011, at 00.39, "Lincoln Baxter, III" &lt;<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>Can you give an example of how you would bundle the JARs? (Just put them in /META-INF/dependencies/ ... ?) And would that not cause just as many class conflicts? If you shade/relocate then the deps *should be* completely isolated.<br>
<br><div class="gmail_quote">On Mon, Apr 11, 2011 at 4:11 PM, Max Rydahl Andersen <span dir="ltr">&lt;<a href="mailto:max.andersen@redhat.com"><a href="mailto:max.andersen@redhat.com">max.andersen@redhat.com</a></a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
well, recommending just bundling jars would be a better approach than shading IMO.<br>
<font color="#888888"><br>
/max<br>
</font><div><div></div><div class="h5"><br>
On Apr 11, 2011, at 16:00, Lincoln Baxter, III wrote:<br>
<br>
&gt; Yeah, shading is currently the recommended approach. Conflicts should be avoided by using relocations. I know this is... not a great method, but for now it's all we've got. Open to suggestions.<br>
&gt;<br>
&gt; ~Lincoln<br>
&gt;<br>
&gt; On Mon, Apr 11, 2011 at 3:41 AM, Max Rydahl Andersen &lt;<a href="mailto:max.andersen@redhat.com"><a href="mailto:max.andersen@redhat.com">max.andersen@redhat.com</a></a>&gt; wrote:<br>
&gt; Heya,<br>
&gt;<br>
&gt; Lincoln, I just saw your commits to hibernattools plugin at (<a href="https://github.com/forge/plugin-hibernate-tools/commit/8b208b4a8e79dbb8a01d10d266ee81afd2cf7106" target="_blank"><a href="https://github.com/forge/plugin-hibernate-tools/commit/8b208b4a8e79dbb8a01d10d266ee81afd2cf7106">https://github.com/forge/plugin-hibernate-tools/commit/8b208b4a8e79dbb8a01d10d266ee81afd2cf7106</a></a>)<br>

&gt;<br>
&gt; Is shading of jars really the recommended approach for plugins in Forge ?<br>
&gt;<br>
&gt; How are you going to share/avoid collisions of libraries across plugins if they need to bundle via shading ?<br>
&gt;<br>
&gt; /max<br>
&gt; <a href="http://about.me/maxandersen" target="_blank"><a href="http://about.me/maxandersen">http://about.me/maxandersen</a></a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; forge-dev mailing list<br>
&gt; <a href="mailto:forge-dev@lists.jboss.org"><a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a></a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank"><a href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a></a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Lincoln Baxter, III<br>
&gt; <a href="http://ocpsoft.com" target="_blank"><a href="http://ocpsoft.com">http://ocpsoft.com</a></a><br>
&gt; <a href="http://scrumshark.com" target="_blank"><a href="http://scrumshark.com">http://scrumshark.com</a></a><br>
&gt; "Keep it Simple"<br>
<br>
/max<br>
<a href="http://about.me/maxandersen" target="_blank"><a href="http://about.me/maxandersen">http://about.me/maxandersen</a></a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com"><a href="http://ocpsoft.com">http://ocpsoft.com</a></a><br><a href="http://scrumshark.com"><a href="http://scrumshark.com">http://scrumshark.com</a></a><br>"Keep it Simple"<br>

</div></blockquote></body></html>