Reading your mail, I seem to understand your problem is not a real one.

You have a multimodule project, running A module, then B.

A fails during tests, then you are surprised that B build does not even
start.

If so, then it's working as expected.
If you want tests to not fail your whole build (so preventing the following
to run), there're many options to ignore tests failure.
But <warn>having to do that must be exceptional. If you configure your
build to constantly ignore tests failure, you are going the wrong
way.</warn>

Use either -DskipTests on the command line. Or worse configure your pom to
ignore tests (see maven surefire plugin documentation).

Cheers
Le 17 sept. 2012 13:31, "TarunKhandelwal" <[email protected]> a
écrit :

> Hello All,
>
> I am implementing Maven for the build Automation and as well as Test Run.
> Now i have two different projects and i have created one Parent Project to
> build both of them.
> But now some error is coming when i am running parent pom.xml.
> Its Building only single Module.
> And after running Test Cases it's not building other Project.
> When i commented all the code from my Test Class. It worked , don't know
> whats the Problem.
> Hope to get a solution.
>
> Thanks,
> Tarun Khandelwal
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Only-Single-Module-is-being-Build-when-Executing-Test-Case-tp5722241.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to