aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-docs/src/site/apt/userguide
diff options
context:
space:
mode:
authorWendy Smoak <wsmoak@apache.org>2008-02-18 15:53:39 +0000
committerWendy Smoak <wsmoak@apache.org>2008-02-18 15:53:39 +0000
commitd23dd72c419e1131741baef0bff6e1f5e1b20cac (patch)
treef34a49296da472d46cb31bb179a20452c36ffbf6 /archiva-docs/src/site/apt/userguide
parent30d5d0f50af07b44d63b2304d568188638f5f93f (diff)
downloadarchiva-d23dd72c419e1131741baef0bff6e1f5e1b20cac.tar.gz
archiva-d23dd72c419e1131741baef0bff6e1f5e1b20cac.zip
[MRM-700] Repository ids in distributionManagement must match server ids in settings.xml
Reported by: Martin Holler git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@628786 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-docs/src/site/apt/userguide')
-rw-r--r--archiva-docs/src/site/apt/userguide/deploy.apt13
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/
+------+