Details
-
Bug
-
Resolution: Obsolete
-
Critical
-
None
-
None
-
None
Description
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>
Attachments
Issue Links
- blocks
-
MODE-1704 ModeShape should use the AS7 bom for managing dependencies
- Closed