Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5345

uv3 consider moving some scope-compile to scope-provided

    XMLWordPrintableJSON

Details

    Description

      Some dependencies in the uimaj project are scope compile, which would be better as scope provided, to allow downstream projects that depend on this to *not* have these dependencies added to their project.

      Examples: the jar that is used only at compile time to supply annotations for Findbugs; the jars that are used at compile time for the log4j logging impl (the downstream depender may not be using log4j, and having these causes maybe wrong slf4j selection of the logging back end).

      When moving log4j things to provided, this also removes them from the test classpath, which makes the tests that need log4j break. Fix this by configuring the surefire plugin to add these dependencies back just for testing (a hack, but I don't know of a better way).

      Attachments

        Activity

          People

            Unassigned Unassigned
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: