Arnaud Heritier
added a comment - I improved a little bit how exceptions are catched and I verified that exceptions are correctly chained.
Now we have graceful messages like :
Arnaud@octo-ahe /cygdrive/e/Temp/testMaven
$ maven toto
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.1-RC1-SNAPSHOT
BUILD FAILED
Errors stack :
>> Error reading XML or initializing
>> Parent POM not found: E:\Temp\project.xml
Total time : 0 seconds
Finished at : Monday, October 23, 2006 12:58:12 AM CEST
There is a regression in the current development version (1.1-RC1-SNAPSHOT), a non-existing parent, (or any other problem in the pom, eg invalid xml), leads to a failed build, but without any explanation. This is only given when running with the -e option (together with the full stack trace).
Lukas Theussl
added a comment - There is a regression in the current development version (1.1-RC1-SNAPSHOT), a non-existing parent, (or any other problem in the pom, eg invalid xml), leads to a failed build, but without any explanation. This is only given when running with the -e option (together with the full stack trace).
need to have a runtime exception that is fatal that does that handling and the rest are caught.
do similarly in m2.