Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-945

The jboss-as-parent-7.1.2 BOM excludes mandatory transitive dependencies for artifacts and/or has missing artifact types

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Critical
    • None
    • None
    • Build System
    • 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

          Activity

            People

              pgier@redhat.com Paul Gier (Inactive)
              hchiorean Horia Chiorean (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: