You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ri...@ubs.com on 2004/12/14 13:58:03 UTC
Question about remote repository properties
Hi all,
Hope you don't mind, I am new to Maven and have a quick question to confirm my understanding.
I am currently trying to set up a remote repository, and have been confused by the various properties that relate to remote repository use, particularly as even when I thought I had set up the properties correctly, my maven installation was attempting to access ibiblio.org to download a dependency.
Am I correct in thinking the following:
maven.repo.remote is a list of repositories from which dependencies are downloaded.
maven.repo.list may be used to define a list of remote repositories to deploy artifacts to.
If this is true, what is maven.repo.central used for?
Also, I presume I should add the first repository in my maven.repo.list to the maven.repo.remote list in order to ensure that my artifacts are downloaded from my internal (remote) repository before there is any attempt to resolve them at external repositories, such as ibiblio.org?
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Question about remote repository properties
Posted by Brett Porter <br...@gmail.com>.
> maven.repo.remote is a list of repositories from which dependencies are downloaded.
correct
> maven.repo.list may be used to define a list of remote repositories to deploy artifacts to.
correct
>
> If this is true, what is maven.repo.central used for?
it is a legacy property. If only that is specified, it is the
equivalent of a single repository in maven.repo.list, using the scp
method.
Cheers,
Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org