<div dir="ltr"><div>I think this should be an error that is picked up by the plugin. Can you file a JIRA at <a href="https://issues.jboss.org/browse/WFBUILD">https://issues.jboss.org/browse/WFBUILD</a> ?<br><br></div><div>Thanks,<br></div><div><br></div>Stuart<br></div><br><div class="gmail_quote"><div dir="ltr">On Thu, 22 Oct 2015 at 01:32 James Netherton &lt;<a href="mailto:jnethert@redhat.com">jnethert@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">I think the feature pack plugins will avoid any enforced rules as they use the aether api directly to resolve their dependencies. So it is possible for conflicting artifacts to be resolved in a feature pack dependency chain.<br>
<br>
----- Original Message -----<br>
From: &quot;Tomaž Cerar&quot; &lt;<a href="mailto:tomaz.cerar@gmail.com" target="_blank">tomaz.cerar@gmail.com</a>&gt;<br>
To: &quot;James Netherton&quot; &lt;<a href="mailto:jnethert@redhat.com" target="_blank">jnethert@redhat.com</a>&gt;<br>
Cc: <a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br>
Sent: Wednesday, 21 October, 2015 2:00:58 PM<br>
Subject: Re: [wildfly-dev] Feature pack maven plugins question<br>
<br>
If you would add maven-enforcer-plugin it would fail if you try to add<br>
something like this.<br>
<br>
We rely on it for this kind checking in WildFly build.<br>
<br>
--<br>
tomaz<br>
<br>
On Wed, Oct 21, 2015 at 2:52 PM, James Netherton &lt;<a href="mailto:jnethert@redhat.com" target="_blank">jnethert@redhat.com</a>&gt;<br>
wrote:<br>
<br>
&gt; Hello everyone,<br>
&gt;<br>
&gt; Consider the following.<br>
&gt;<br>
&gt; Feature pack &#39;A&#39; has a dependency on the WildFly 9 feature pack. E.g:<br>
&gt;<br>
&gt; &lt;dependencies&gt;<br>
&gt;   &lt;artifact name=&quot;org.wildfly:wildfly-feature-pack:9.0.1.Final&quot; /&gt;<br>
&gt; &lt;/dependencies&gt;<br>
&gt;<br>
&gt; Feature pack &#39;B&#39; has a dependency on the WildFly 10 feature pack and also<br>
&gt; on feature pack &#39;A&#39;. E.g:<br>
&gt;<br>
&gt; &lt;dependencies&gt;<br>
&gt;   &lt;artifact name=&quot;org.wildfly:wildfly-feature-pack:10.0.0.CR3&quot; /&gt;<br>
&gt;   &lt;artifact name=&quot;org.foo:feature-pack-A&quot; /&gt;<br>
&gt; &lt;/dependencies&gt;<br>
&gt;<br>
&gt; Leaving the sanity and validity of doing this aside, should the<br>
&gt; feature-pack-build or server-provisioning-plugin be detecting this as an<br>
&gt; error condition, given that you&#39;ll have overlapping and possibly<br>
&gt; problematic non-overlapping file paths coming from the conflicting WildFly<br>
&gt; versions?<br>
&gt;<br>
&gt; At the moment the plugins allow this scenario.<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; James<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; wildfly-dev mailing list<br>
&gt; <a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
<br>
_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></blockquote></div>