diff options
author | Dennis Lundberg <dennisl@apache.org> | 2008-05-30 09:22:19 +0000 |
---|---|---|
committer | Dennis Lundberg <dennisl@apache.org> | 2008-05-30 09:22:19 +0000 |
commit | d8db8b9a577c038c97bd4d8a35c24b67ccdb2776 (patch) | |
tree | cfa2456ce0924caf5a82d0dfedb98d16e9c57639 /archiva-docs/src | |
parent | ce1253dc038480c3d174a341bd9b28979714673f (diff) | |
download | archiva-d8db8b9a577c038c97bd4d8a35c24b67ccdb2776.tar.gz archiva-d8db8b9a577c038c97bd4d8a35c24b67ccdb2776.zip |
o Unindent configuration snippets to make them copy-paste friendly.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661613 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-docs/src')
-rw-r--r-- | archiva-docs/src/site/apt/userguide/deploy.apt | 124 |
1 files changed, 62 insertions, 62 deletions
diff --git a/archiva-docs/src/site/apt/userguide/deploy.apt b/archiva-docs/src/site/apt/userguide/deploy.apt index 8e346bd62..006513eda 100644 --- a/archiva-docs/src/site/apt/userguide/deploy.apt +++ b/archiva-docs/src/site/apt/userguide/deploy.apt @@ -19,23 +19,23 @@ Deploying to Repository [[3]] Define the server for deployment inside your 'settings.xml', use the newly created user for authentication +-------------------------------------------------------------------------+ - <settings> +<settings> + ... + <servers> + <server> + <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> ... - <servers> - <server> - <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> - ... - </servers> - ... - </settings> + </servers> + ... +</settings> +-------------------------------------------------------------------------+ ** Deploying to Archiva using HTTP @@ -45,22 +45,22 @@ Deploying to Repository element in <<<settings.xml>>>. +-------------------------------------------------------------------------+ - <project> - ... - <distributionManagement> - <repository> - <id>archiva.internal</id> - <name>Internal Release Repository</name> - <url>http://reposerver.mycompany.com:8080/archiva/repository/internal/</url> - </repository> - <snapshotRepository> - <id>archiva.snapshots</id> - <name>Internal Snapshot Repository</name> - <url>http://reposerver.mycompany.com:8080/archiva/repository/snapshots/</url> - </snapshotRepository> - </distributionManagement> - ... - </project> +<project> + ... + <distributionManagement> + <repository> + <id>archiva.internal</id> + <name>Internal Release Repository</name> + <url>http://reposerver.mycompany.com:8080/archiva/repository/internal/</url> + </repository> + <snapshotRepository> + <id>archiva.snapshots</id> + <name>Internal Snapshot Repository</name> + <url>http://reposerver.mycompany.com:8080/archiva/repository/snapshots/</url> + </snapshotRepository> + </distributionManagement> + ... +</project> +-------------------------------------------------------------------------+ ** Deploying to Archiva using WebDAV @@ -71,40 +71,40 @@ Deploying to Repository [[1]] Add <<<dav:>>> to the front of the deployment URLs: +-------------------------------------------------------------------------+ - <project> - ... - <distributionManagement> - <repository> - <id>archiva.internal</id> - <name>Internal Release Repository</name> - <url>dav:http://reposerver.mycompany.com:8080/archiva/repository/internal/</url> - </repository> - <snapshotRepository> - <id>archiva.snapshots</id> - <name>Internal Snapshot Repository</name> - <url>dav:http://reposerver.mycompany.com:8080/archiva/repository/snapshots/</url> - </snapshotRepository> - </distributionManagement> - ... - </project> +<project> + ... + <distributionManagement> + <repository> + <id>archiva.internal</id> + <name>Internal Release Repository</name> + <url>dav:http://reposerver.mycompany.com:8080/archiva/repository/internal/</url> + </repository> + <snapshotRepository> + <id>archiva.snapshots</id> + <name>Internal Snapshot Repository</name> + <url>dav:http://reposerver.mycompany.com:8080/archiva/repository/snapshots/</url> + </snapshotRepository> + </distributionManagement> + ... +</project> +-------------------------------------------------------------------------+ [[2]] Add a build extension to your <<<pom.xml>>> (not required in Maven 2.0.9 and above) +-------------------------------------------------------------------------+ - <project> - ... - <build> - <extensions> - <extension> - <groupId>org.apache.maven.wagon</groupId> - <artifactId>wagon-webdav</artifactId> - <version>1.0-beta-2</version> - </extension> - </extensions> - </build> - ... - </project> +<project> + ... + <build> + <extensions> + <extension> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-webdav</artifactId> + <version>1.0-beta-2</version> + </extension> + </extensions> + </build> + ... +</project> +-------------------------------------------------------------------------+ ** Deploying using other protocols @@ -143,7 +143,7 @@ mvn deploy:deploy-file -Dfile=filename.jar -DpomFile=filename.pom <packaging>pom</packaging> <version>1</version> <name>Webdav Deployment POM</name> - + <build> <extensions> <extension> |