maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Gold <r...@gold-family.us>
Subject Re: How can I force a Maven task to depend on other Maven tasks?
Date Thu, 31 Oct 2013 15:05:50 GMT
‘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 <apennebaker@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
> apennebaker@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/>!








Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message