3 ms·
Maven will not, by default, allow you to perform a release if there are any test failures. That seems like a better model, at least for a VM language - if somet
by lmm 12y ago
Maven will not, by default, allow you to perform a release if there are any test failures. That seems like a better model, at least for a VM language - if something works on the release machine and not on the user's machine, you have bigger problems.
- Diederich 12y agoThat's great to hear! I'm not too strong on Java; does what you're saying imply that some/all/most of the freely available Java 'modules' or 'packages' that are built with Maven will end up running and passing associated test suites in most all of the organizations that end up using the code in question?
- wtetzner 12y agoNo, the tests are run as part of the deploy. So before deploying a library, if the tests don't pass, the deploy fails. However, the artifact that actually gets deployed is a .jar file containing .class files. Users of libraries don't rebuild the libraries.