maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LevskiWeng <>
Subject Re: Why does Maven fail to compile my project occasionally?
Date Tue, 25 Feb 2014 08:39:03 GMT
Wayne Fay wrote
> I rarely use any parameters as you have done here. Can you try a
> simple "mvn clean install" and see how that goes? Also -U and -X may
> be useful shortcuts for you to know about.
> And I agree with Stephen and Ron - Eclipse sometimes does helpful
> things which produce hard to explain results. I would suggest either
> using Eclipse or Maven CLI but not both simultaneously on the same
> project (close Eclipse & just use Maven CLI, or just use Eclipse).
> Wayne

Well, Eclipse is not installed on my daily-build server, so I guess it has
nothing to do with Eclipse. ;-)

I guess when Maven encounters the missing-dependency compilation error, it
doesn't stop compiling immediately, and it tries its best to compile other
unrelated modules. When I compile the whole project again, the missing
dependent modules may appear in the local repository because the unrelated
modules compiled previously have declared them as dependencies.

Anyway, the long-lasting problem has been solved perfectly. Thank you guys!

View this message in context:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message