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

uv3 logger test dependencies incorrect or missing

    XMLWordPrintableJSON

Details

    Description

      Some test cases need the logger. The uv3 default logger is no logger - and slf4j uses its "NOP" logger. To make these tests work like they do in v2, add a test dependency on the slf4j-jdk14 adapter.

      One project had this accidentally added but not as a test scope (it used the default compile scope). This worked, except it showed up a (probable) bug in Maven / Invoker, when running the jcasgen-maven-plugin integration tests - the slfj4-api would go missing from the jcasgen maven plugin's environment. Fixing the other dependency in uimaj-cpe for slfj4-jdk14 to "test" made the invoker plugin no longer delete the slf4j-api jar from its execution classpath. (Documented here for historical reasons, and because it took most of a day to debug this!)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: