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

uimaFIT maven plugin mixes up test and compile scopes

    XMLWordPrintableJSON

Details

    Description

      It looks like uimaFIT maven plugin scans types.txt files from compile dependencies as well as from test dependencies - and then when loading the descriptors, it seems that a different classloader is used causing imports in test scoped dependencies not to be properly resolvable.

      First thing, the plugin shouldn't scan test dependencies by default at all. We probably need a scope parameter to control which scopes the plugin looks at.

      Second, even if the test scope is looked at, the same path should be used during classpath scanning as well as during import resolving.

      Attachments

        Activity

          People

            rec Richard Eckart de Castilho
            rec Richard Eckart de Castilho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: