diff options
author | Brett Porter <brett@apache.org> | 2008-03-20 14:21:43 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2008-03-20 14:21:43 +0000 |
commit | 88022f02432188cd870ffb40a710857b954c87c7 (patch) | |
tree | 08433be12c9b60de71242379668b031f87ea74cb | |
parent | d3aacfe9cdbb33eebd8ce3b47cfac293a09f187d (diff) | |
download | archiva-88022f02432188cd870ffb40a710857b954c87c7.tar.gz archiva-88022f02432188cd870ffb40a710857b954c87c7.zip |
[MRM-700] Review the documentation on deploying to Archiva for inconsistent repository ids
Merged from: r628786
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-1.0.x@639295 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | archiva-docs/src/site/apt/userguide/deploy.apt | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/archiva-docs/src/site/apt/userguide/deploy.apt b/archiva-docs/src/site/apt/userguide/deploy.apt index 342121479..e0d133390 100644 --- a/archiva-docs/src/site/apt/userguide/deploy.apt +++ b/archiva-docs/src/site/apt/userguide/deploy.apt @@ -17,7 +17,12 @@ Deploying to Repository ... <servers> <server> - <id>deployment.webdav</id> + <id>archiva.internal</id> + <username>{archiva-deployment-user}</username> + <password>{archiva-deployment-pwd}</password> + </server> + <server> + <id>archiva.snapshots</id> <username>{archiva-deployment-user}</username> <password>{archiva-deployment-pwd}</password> </server> @@ -29,7 +34,9 @@ Deploying to Repository * Deploying to Archiva using WebDAV - [[1]] Configure the <<<distributionManagement>>> part of your <<<pom.xml>>> (customising the URLs as needed) + [[1]] Configure the <<<distributionManagement>>> part of your <<<pom.xml>>> (customising the URLs as needed). + The <<<id>>> of the repository in <<<distributionManagement>>> <<must>> match the <<<id>>> of the <<<server>>> + element in <<<settings.xml>>>. +-------------------------------------------------------------------------+ <project> @@ -115,7 +122,7 @@ Deploying to Repository +------+ mvn deploy:deploy-file -Dfile=filename.jar -DpomFile=filename.pom - -DrepositoryId=deployment.webdav + -DrepositoryId=archiva.internal -Durl=dav:http://repo.mycompany.com:8080/repository/internal/ +------+ |