Closed cherylking closed 10 months ago
Unrelated to my changes, a test case started failing on Linux (it is not run on Windows). I spent much of Wednesday looking into this test failure.
So I found that if I ran the failing test locally by itself (MultiModuleRunInstallEarTest
in dev-it
), I could recreate the problem. Basically, the test expects the ear
to have been installed in .m2/repository
. However, the run
goal does not install it. The test was erroneously depending on some other part of dev-it
that installs the ear. If I run all of dev-it
locally, the test passes.
So I modified the test to handle the case where the ear
is not already installed in .m2/repository
.
Fixes #1782