junit compile scope

liquibase-core-3.3.0 depends on junit:

junit

junit

compile
Is it really necessary to use the compile scope?

It currently is because there are portions of the “production” code that can be used by extension writers as starting points for testing their extensions. For normal use, junit isn’t a runtime dependency, but it’s needed to compile Liquibase.

I’m working on a refactoring of that to remove the dependency and better split the SDK out. 

Nathan