CDI-227 module resolution happens before resolve()