]
Tomaz Cerar closed WFLY-945.
----------------------------
Resolution: Out of Date
The jboss-as-parent-7.1.2 BOM excludes mandatory transitive
dependencies for artifacts and/or has missing artifact types
------------------------------------------------------------------------------------------------------------------------
Key: WFLY-945
URL:
https://issues.jboss.org/browse/WFLY-945
Project: WildFly
Issue Type: Bug
Components: Build System
Reporter: Horia Chiorean
Assignee: Paul Gier
Priority: Critical
In order for ModeShape 3.1 to be productized, we were asked to update our build system
and only use the _jboss-as-parent-7.1.2.Final_ BOM, importing it in our
_<dependencyManagement>_ section.
While trying to do so, we've identified a couple of blocker issues (from our
perspective) with the BOM:
*1.* Some of the core artifacts which we need: Infinispan and Resteasy to name a few,
have almost all (if not all) of their mandatory transitive dependencies excluded from the
BOM. For example, in the case of _infinispan-core_, the _jboss-marhshalling_ and
_jboss-marshalling-river_ dependencies are required for some basic test cases/uses. We
don't use these directly in our API, but Infinispan uses them by default in many
cases. The only workaround is to redefine these dependencies (in order to avoid the
excludes) in our pom(s) which defeats the entire purpose of a BOM.
*2.* Since we're based on Infinispan, a lot of our modules use for testing
Infinispan's _test-jar_ artifact which isn't present in the BOM. Again, to work
around this we're basically having to define a local dependency with a version and the
_<type>test-jar<type>_