<div dir="ltr">I have fixed this upstream (it was only an issue with thin servers, which is why my attempt to reproduce worked). I will release 1.2.6.Final shortly, however I am looking at adding some additional features to help with the Java EE work so this may be in a couple of days.<div><br></div><div>Stuart</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 15, 2018 at 10:00 PM, Sanne Grinovero <span dir="ltr">&lt;<a href="mailto:sanne@hibernate.org" target="_blank">sanne@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"><span class="">On 15 January 2018 at 02:23, Stuart Douglas &lt;<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>&gt; wrote:<br>
&gt; I have released 1.2.5.Final that does not allow overrides by default, there<br>
&gt; is now a &#39;allow-maven-version-<wbr>overrides&#39; property that allows you to revert<br>
&gt; to the 1.2.4.Final behaviour.<br>
&gt;<br>
&gt; If swarm is relying on this behaviour then this option will need to be set<br>
&gt; when you upgrade.<br>
&gt;<br>
&gt; Stuart<br>
&gt;<br>
&gt; On Mon, Jan 15, 2018 at 12:29 PM, Stuart Douglas<br>
&gt; &lt;<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; So I had a quick look into this and I can&#39;t replicate the same problem but<br>
&gt;&gt; something does appear to be screwy with the plugin.<br>
&gt;&gt;<br>
&gt;&gt; This commit<br>
&gt;&gt; <a href="https://github.com/wildfly/wildfly-build-tools/commit/91a076d5e58cebfbd4f734afd6d17b150123c3b1#diff-151a2d1d08d798fdc36537eb125fdbe7R121" rel="noreferrer" target="_blank">https://github.com/wildfly/<wbr>wildfly-build-tools/commit/<wbr>91a076d5e58cebfbd4f734afd6d17b<wbr>150123c3b1#diff-<wbr>151a2d1d08d798fdc36537eb125fdb<wbr>e7R121</a><br>
&gt;&gt; seems to have introduced an issue that I did not notice where the maven<br>
&gt;&gt; plugin will take versions out of the maven project, instead of using the<br>
&gt;&gt; correct versions from the feature pack. This means that if your project has<br>
&gt;&gt; any dependencies that are shared with Wildfly but a different version you<br>
&gt;&gt; will end up using these versions instead and provisioning a broken server<br>
&gt;&gt; config.<br>
&gt;&gt;<br>
&gt;&gt; I am not sure if this is the same issue though, can you try with version<br>
&gt;&gt; 1.2.0 of the plugin and see what you get?<br>
<br>
</span>You&#39;re right, 1.2.0 deals with it just fine, while both 1.2.4 and 1.2.5 fail.<br>
<br>
I have this minimal project able to reproduce the issue, just checkout<br>
my branch `FeaturePacksv2` - as listed in the PR:<br>
<br>
<a href="https://github.com/hibernate/lucene-jbossmodules/pull/6" rel="noreferrer" target="_blank">https://github.com/hibernate/<wbr>lucene-jbossmodules/pull/6</a><br>
<br>
It&#39;s a very light project, you should be able to see the failure in<br>
seconds [after downloading dependencies].<br>
<br>
I&#39;ll see if I can use 1.2.0 for the time being..<br>
<br>
Thanks,<br>
Sanne<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;&gt;<br>
&gt;&gt; Stuart<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Jan 15, 2018 at 11:10 AM, Sanne Grinovero &lt;<a href="mailto:sanne@hibernate.org">sanne@hibernate.org</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi all,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;m attempting to provision an instance of WildFly 11.0.0.Final (full)<br>
&gt;&gt;&gt; to run integration tests using the<br>
&gt;&gt;&gt; `wildfly-server-provisioning-<wbr>maven-plugin`, but I&#39;m getting the<br>
&gt;&gt;&gt; following error:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; [ERROR] Failed to execute goal<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; org.wildfly.build:wildfly-<wbr>server-provisioning-maven-<wbr>plugin:1.2.4.Final:build<br>
&gt;&gt;&gt; (server-provisioning-node1) on project<br>
&gt;&gt;&gt; hibernate-search-<wbr>integrationtest-wildfly: Execution<br>
&gt;&gt;&gt; server-provisioning-node1 of goal<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; org.wildfly.build:wildfly-<wbr>server-provisioning-maven-<wbr>plugin:1.2.4.Final:build<br>
&gt;&gt;&gt; failed: java.lang.RuntimeException: java.lang.RuntimeException: Failed<br>
&gt;&gt;&gt; to process feature pack<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; /home/sanne/.m2/repository/<wbr>org/wildfly/wildfly-feature-<wbr>pack/11.0.0.Final/wildfly-<wbr>feature-pack-11.0.0.Final.zip<br>
&gt;&gt;&gt; modules: Could not extract resources from<br>
&gt;&gt;&gt; org.apache.cxf:cxf-rt-ws-<wbr>security?jandex: Failed to resolve<br>
&gt;&gt;&gt; expression: ${org.apache.cxf:cxf-rt-ws-<wbr>security?jandex}<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Checking the content, one can see:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; # module org.apache.cxf.ws-security contains:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;     &lt;resources&gt;<br>
&gt;&gt;&gt;         &lt;artifact name=&quot;${org.apache.cxf:cxf-rt-<wbr>ws-security?jandex}&quot;/&gt;<br>
&gt;&gt;&gt;     &lt;/resources&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; # module org.apache.cxf.impl:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;    &lt;resources&gt;<br>
&gt;&gt;&gt;         &lt;artifact name=&quot;${org.apache.cxf:cxf-rt-<wbr>security?jandex}&quot;/&gt;<br>
&gt;&gt;&gt;         ...<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I assume this &quot;?jandex&quot; string is not intentional?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks,<br>
&gt;&gt;&gt; Sanne<br>
&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt; wildfly-dev mailing list<br>
&gt;&gt;&gt; <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>