Both approaches are fine, although putting everything on the module path and automatic modules as dependencies Interestingly enough, the list doesn't .