Geoffrey De Smet edited a comment on Bug WELD-935

Jozef Hartinger Suppose errai uses the shaded jar for convenience. Suppose drools uses the real jar.
Suppose guvnor depends on errai and drools.
Maven won't detect that 2 versions of the same weld code are being used in guvnor and it will put both jars on the classpath for guvnor.

Now suppose some drools or errai code calls org.weld.container.Container (notice how that class is never shaded).
Then it's a game of Russian roulette to what version it will get (hopefully the higher version will be first on the classpath).

Here's a nice image to demonstrate that:
http://ge0ffrey.github.io/maven-dependency-puzzlers/maven-dependency-puzzlers-presentation/src/main/presentation/index.html#42.0

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira