...
Eclipse does not enforce this restriction. In Eclipse, uimaj-cpe has a project dependency on uimaj-core, and so everything in uimaj-core is visible to everything in uimaj-cpe. Eclipse doesn't distinguish between code in src/main and code in src/test in the way that Maven does.
Because of this differnce difference it is possible to create Unit tests that run in Eclipse but fail when run from the Maven command line. To guard against this, please always run the unit tests in Maven before committing changes. This is done by executing mvn install
from the uimaj
directory.