<div dir="ltr"><div>Hey Thomas,<br><br></div><div>yes, boms ware modifed to have scope provided, as given the feedback on forums lots of folks had problems with <br></div><div>bundling the API jars with their application, which resulted in lots of deployment problems.<br><br></div><div>The testing on other hand results in problems you have, which are quite easily fixed if you change the scope of dependency<br></div><div>when you are defining deps for your test modules.<br><br></div><div>Question is what is more common problem, one or another. It is hard to choose what to cater to in this case.<br><br></div><div>I think that best thing do here is to update our quickstarts that reflect how to work with newer boms.<br><br><br></div><div>Maybe someone else has better idea?<br><br>--<br></div><div>tomaz<br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 29, 2015 at 6:04 PM, Thomas Segismont <span dir="ltr">&lt;<a href="mailto:tsegismo@redhat.com" target="_blank">tsegismo@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">Hi everyone,<br>
<br>
While working on upgrading Hawkular to Wildfly 9 CR2, we have noticed<br>
that the Wildfly BOM now declares provided scope for some dependencies.<br>
<br>
I guess the goal is to help users which forget to set the provided scope<br>
in their POM to end up with all the libraries in their WAR.<br>
<br>
On the other hand, if you use some libraries in your tests, then<br>
dependency resolution can be broken. For example, if you add<br>
org.jboss.resteasy::resteasy-client in test scope, your tests fail due<br>
to a missing class from commons-io, because commons-io should be<br>
resolved as a transitive dependency of<br>
org.jboss.resteasy::resteasy-jaxrs, but it&#39;s now in scope provided,<br>
instead of test.<br>
<br>
Have you considered this use case? Are there other motivations than<br>
helping Maven beginners?<br>
<br>
Best regards,<br>
Thomas<br>
_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">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><br>
</blockquote></div><br></div>