Hi all,

I've been experimenting with my local Maven (v1.0.2) build environment the use 
of snapshot artifacts. I was wondering if people can confirm the following 
behaviour, or point out what I am doing wrong.

1. I find that if I try to override a dependency Jar that is defined in my POM 
as a SNAPSHOT version, the build fails saying that it cannot find the override 
path specified - even though the Jar file is there. If however, I change the 
dependency version in my POM to a fixed version number it works fine. 
Alternatively, if I build offline using 'maven -o', it also works fine.

Should I be able to override a SNAPSHOT dependency using a maven.jar.artifactId 
= [path] property?

2. If I use maven.repo.remote.enabled=false I always get build failures due to 
unsatisfied dependencies for my SNAPSHOT dependency Jars, even though they are 
present in my local repository. The Maven website infers that this shouldn't 
happen - that the build should use the Snapshot Jars that are in my local 
repository. If I use maven -o again, it works fine - with the usual warning of 
the possibility of out-of-date dependencies.

Are there additional properties I need to use to get these two features working?

Thanks in advance.

Regards,

Richard.

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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

Reply via email to