Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
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.