maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Pennebaker <>
Subject Re: How can I force a Maven task to depend on other Maven tasks?
Date Thu, 31 Oct 2013 15:55:11 GMT
> No such thing as a Maven task.
> Maven projects produce artifacts which other projects can declare as
> dependencies.
> You can have Maven projects that include sub-projects (multi-module
> project).
> Can you rephrase your question or describe what you are trying to do.

I would like to amend my pom so that the test *phase* depends on the
compile *phase*.

I'm certain that this dependency flow is already the default. It's just
weird to experience a `mvn test` passing when a manual `mvn compile`
produces compile errors.


Andrew Pennebaker

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