[wildfly-dev] Wildfly 9 BOM changes

Thomas Segismont tsegismo at redhat.com
Fri Jul 3 10:00:34 EDT 2015


Thank you very much Tomaž!

Le 03/07/2015 15:57, Tomaž Cerar a écrit :
> Just an update on this, as we discussed it with Thomas on IRC.
>
> Result are fixed boms that ware just released with version of 9.0.0.Final
> that is also in sync with just released WildFly 9.0.0.Final deps.
>
> --
> tomaz
>
> On Mon, Jun 29, 2015 at 6:04 PM, Thomas Segismont <tsegismo at redhat.com
> <mailto:tsegismo at redhat.com>> wrote:
>
>     Hi everyone,
>
>     While working on upgrading Hawkular to Wildfly 9 CR2, we have noticed
>     that the Wildfly BOM now declares provided scope for some dependencies.
>
>     I guess the goal is to help users which forget to set the provided scope
>     in their POM to end up with all the libraries in their WAR.
>
>     On the other hand, if you use some libraries in your tests, then
>     dependency resolution can be broken. For example, if you add
>     org.jboss.resteasy::resteasy-client in test scope, your tests fail due
>     to a missing class from commons-io, because commons-io should be
>     resolved as a transitive dependency of
>     org.jboss.resteasy::resteasy-jaxrs, but it's now in scope provided,
>     instead of test.
>
>     Have you considered this use case? Are there other motivations than
>     helping Maven beginners?
>
>     Best regards,
>     Thomas
>     _______________________________________________
>     wildfly-dev mailing list
>     wildfly-dev at lists.jboss.org <mailto:wildfly-dev at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/wildfly-dev
>
>



More information about the wildfly-dev mailing list