You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2009/07/19 14:51:16 UTC
svn commit: r795532 - /maven/site/trunk/src/site/apt/settings.apt
Author: bentmann
Date: Sun Jul 19 12:51:16 2009
New Revision: 795532
URL: http://svn.apache.org/viewvc?rev=795532&view=rev
Log:
o Clarified relation between mirror id and server id
Modified:
maven/site/trunk/src/site/apt/settings.apt
Modified: maven/site/trunk/src/site/apt/settings.apt
URL: http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/settings.apt?rev=795532&r1=795531&r2=795532&view=diff
==============================================================================
--- maven/site/trunk/src/site/apt/settings.apt (original)
+++ maven/site/trunk/src/site/apt/settings.apt Sun Jul 19 12:51:16 2009
@@ -129,7 +129,8 @@
* {Servers}
- The repositories for deployment are defined by the {{{./pom.html#Distribution_Management}<<<distributionManagement>>>}} element of the POM.
+ The repositories for download and deployment are defined by the {{{./pom.html#Repositories}<<<repositories>>>}} and
+ {{{./pom.html#Distribution_Management}<<<distributionManagement>>>}} elements of the POM.
However, certain settings such as <<<username>>> and <<<password>>> should not be distributed
along with the <<<pom.xml>>>. This type of information should exist on the build server in the
<<<settings.xml>>>.
@@ -157,8 +158,8 @@
+------------------------------------+
* <<id>>:
- This is the ID of the server <(not of the user to login as)> that matches the <<<distributionManagement>>>
- <<<repository>>> element's <<<id>>>.
+ This is the ID of the server <(not of the user to login as)> that matches the <<<id>>> element of the repository/mirror
+ that Maven tries to connect to.
* <<username>>, <<password>>:
These elements appear as a pair denoting the login and password required to authenticate to this
@@ -204,16 +205,17 @@
+------------------------------------+
* <<id>>, <<name>>:
- The unique identifier and readable name of this mirror. The <<<id>>> is used to differentiate between
- <<<mirror>>> elements.
+ The unique identifier and user-friendly name of this mirror. The <<<id>>> is used to differentiate between
+ <<<mirror>>> elements and to pick the corresponding credentials from the {{{Servers}<<<\<servers\>>>>}} section when
+ connecting to the mirror.
* <<url>>:
- The base URL of this mirror. The build system will use prepend this URL to connect to a
- repository rather than the default server URL.
+ The base URL of this mirror. The build system will use this URL to connect to a
+ repository rather than the original repository URL.
* <<mirrorOf>>:
- The <<<id>>> of the server that this is a mirror of. For example, to point to a mirror
- of the Maven <<<central>>> server (<<<{{http://repo1.maven.org/maven2/}}>>>), set this element to
+ The <<<id>>> of the repository that this is a mirror of. For example, to point to a mirror
+ of the Maven <<<central>>> repository (<<<{{http://repo1.maven.org/maven2/}}>>>), set this element to
<<<central>>>. More advanced mappings like <<<repo1,repo2>>> or <<<*,!inhouse>>> are also possible. This must not
match the mirror <<<id>>>.