diff options
author | Wendy Smoak <wsmoak@apache.org> | 2008-02-18 15:53:39 +0000 |
---|---|---|
committer | Wendy Smoak <wsmoak@apache.org> | 2008-02-18 15:53:39 +0000 |
commit | d23dd72c419e1131741baef0bff6e1f5e1b20cac (patch) | |
tree | f34a49296da472d46cb31bb179a20452c36ffbf6 /archiva-docs/src/site/apt/userguide | |
parent | 30d5d0f50af07b44d63b2304d568188638f5f93f (diff) | |
download | archiva-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.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/ +------+ |