Andrew Wang wrote:
Theoretically, we should be able to run unittests without a full `mvn install` right? The "test" phase comes before "package" or "install", so I figured it only needed class files. Maybe the multi-module-ness screws this up.
Unless something weird is configured in the poms (which is often a smell on its own), the reactor (I think is the right Maven bit) is smart enough to pull the right code for multi-module builds.
AFAIK, you should be able to run all unit tests with a patch (hitting multiple modules or not) without installing all of the artifacts (e.g. using the package lifecycle phase).
If this isn't the case, I'd call that a build bug.