On Sun, 2004-03-21 at 20:13, [EMAIL PROTECTED] wrote:
> What is the difference between a remote (maven.repo.remote) and a central
> (maven.repo.central) repository?

The only central repository that exists is ibiblio.

You can have any number of remote repositories listed in the various
properties files but the default remote repository is the only central
repository.

> >From the user guide, it says that the central repository is 'the host that
> Maven will attempt to deploy the distribution to during a dist:deploy'.

That's not entirely correct. The <distribution*/> elements in the POM
are sort of misleading. You can deploy your artifacts to any remote
repository and list any remote repository for use in properties files
the project uses but generally folks want things deployed to ibiblio
because it is the default remote repository.

> However, I noticed that seems like only the deploy plugin uses the central
> repo.  The other 'deploy' goals from other plugins, including the
> distribution plugin, all use the remote repository.  Why is there a
> difference in the way deployment is managed?

That's a misalignment that has happened organically. You should be able
to deploy any artifact to any remote repository. If the remote
repository is one of your making i.e. one that you host then that's no
problem. Getting something on ibiblio requires a JIRA request.

> To me, I would welcome a separate repo for deployment from the repo where
> artifacts are downloaded.  For a simple reason, that I may want to set up a
> central repo to house the artifacts I generated, while still continuing to
> download from ibilio.

This is when you setup your own remote repository for use for your
purposes. You can deploy whatever you like to your own remote
repository. For any projects that wish to use that remote repository you
must simply include an entry for it in the project's properties files.
Generally you would do so in your project.properties file. Something
like:

maven.repo.remote=http://www.ibiblio.org/maven/,http://my.company.com/maven/

> Any comments from Maven developers, or am I missing something?

Nope, the documentation isn't quite in accord with what actually
happens. I'll fix the documentation.

> 
> Regards,
> Eng Hoe
> Application Development
> Technology Group
> SGX Ltd
> 
> DID: (65) 62368963
> FAX: (65) 64388840
> email: [EMAIL PROTECTED]
> 
> Confidentiality Caution
> =======================
> Privileged/Confidential Information may be contained in this message. If
> you are not the addressee indicated in this message (or responsible for
> delivery of the message to such person), you may not copy or deliver this
> message to anyone. In such case, you should destroy this message and kindly
> notify the sender by reply email. Opinions, conclusions and other
> information in this message that is not of an official nature shall be
> deemed as neither given nor endorsed by SGX unless indicated by an
> authorised representative independent of this message.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 


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

Reply via email to