Jason van Zyl wrote:

On Thu, 2003-02-13 at 09:40, Colin Sampaleanu wrote:

This is quite possible, since the current code doesn't break the build when a dependency is not found...

Yes it does, this is what happens when building the XMLRPC component
when the javamail JAR is not present:

-----
| \/ |__ Jakarta _ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-beta-9


Attempting to download javamail-1.2.jar.
WARNING: Failed to download javamail-1.2.jar.
The build cannot continue because of the following unsatisfied
dependency:

javamail-1.2.jar

Total time: 4 seconds
-----

I believe your condition is multiple repostories. Please don't make
blanket statements that aren't correct.

Please give me a bit of credit :-) I have looked at the code, stepped through it in a debugger, and emailed with you (and dIon) about this. Below is an example of maven b8 with one remote repo (ibiblio), with a project generated via genapp, where I have added a bs (non-existent) dependency called 'crapola'.

D:\devt\maventest1>maven
__ __
| \/ |__ Jakarta _ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-beta-8


Attempting to download crapola-1.0.0.jar.
BUILD SUCCESSFUL
Total time: 2 seconds

There is no such jar, it can't download it, there is no error printed about it (as per my email before), and if I try to build it again it will try to download it again.

Now based on your email, it's obviously breaking for you in some cases, but to the best of (what I thought was my reasonably informed knowledge) I thought I was making a correct statement...

Colin



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to