2007-04-25 12:28:56 +00:00

69 lines
2.0 KiB
XML

<?xml version="1.0"?>
<!--
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<document>
<properties>
<title>Examples</title>
<author email="tma@netspace.net.au">Tim Anderson</author>
</properties>
<body>
<section name="Examples">
<p>
The following example demonstrates how the deployment
of artifacts to remote repositories can be configured.
</p>
<source><![CDATA[
#list of repositories to which we will deploy.
#There are 4 repositories
maven.repo.list= R1, R2, R3, R4
#settings for repository 'R1'
maven.repo.R1=ftp://ftp.boo.com
maven.repo.R1.username=michal
maven.repo.R1.password=********
maven.repo.R1.directory=/web/repository
#settings for repository 'R2'
maven.repo.R2=sftp://host2.com
maven.repo.R2.username=michal
maven.repo.R2.password=*********
maven.repo.R2.port=22
maven.repo.R2.directory=maven/repository
maven.repo.R2.group=Michal
#settings for repository 'R3'
maven.repo.R3=scp://host3.com
maven.repo.R3.username=michal
maven.repo.R3.directory=repo
maven.repo.R3.group=remote_group
maven.repo.R3.privatekey=/home/michal/.ssh/id_dsa
maven.repo.R3.compress=true
#settings for repository 'R4'
maven.repo.R4=file://c:\\temp
maven.repo.R4.directory=repository
]]></source>
</section>
</body>
</document>