‘mvn test’ should compile any code that needs to be compiled. It sounds as though you might have intermittent tests. Can you show us a log of such a test run followed by a “compile test” run?
- Russ On Oct 31, 2013, at 11:00 AM, Andrew Pennebaker <apenneba...@42six.com> wrote: > When I run `mvn test`, I sometimes get misleading reports ("all unit tests > pass"), when in fact, upon manually recompiling the code with `mvn compile` > and running `mvn test` again, the new code shows test failures. > > Is this normal behavior for a Maven project? How can I force a Maven task > to depend on other Maven tasks? > > -- > Cheers, > > Andrew Pennebaker > apenneba...@42six.com ----------------- Author, Getting Started with Apache Maven <http://www.packtpub.com/getting-started-with-apache-maven/video> Come read my webnovel, Take a Lemon <http://www.takealemon.com>, and listen to the Misfile radio play <http://www.fuzzyfacetheater.com/misfile/>!