complexType Repository

complexType {http://maven.apache.org/POM/3.0.0}Repository

Abstractfalse (This can be used in an instance)
Target Namespacehttp://maven.apache.org/POM/3.0.0
Declared Namespacesxmlns:xs=http://www.w3.org/2001/XMLSchema
xmlns=http://maven.apache.org/POM/3.0.0


Source

<xs:complexType name="Repository">
    <
xs:annotation>
        <
xs:documentation source="version">3.0.0</xs:documentation>
    </
xs:annotation>
    <
xs:all>
        <
xs:element name="connection" type="xs:string" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0</xs:documentation>
                <
xs:documentation source="description">
<p>
Optional. The source configuration management system URL
that describes the repository and how to connect to the
repository. This is used by Maven when <a href="/plugins/dist/index.html">building versions</a>
from specific ID.
</p>
<p>
The format of this element is as follows:
</p>
<pre>scm:&lt;provider&gt;:&lt;provider-parameters&gt;</pre>
<p>For cvs, the format for pserver repositories should be:</p>
<div class="source">
<pre>scm:cvs:pserver:user@host:/cvs/root:module-name</pre>
</div>
<p>
For local networked repositories (eg. pserver to local machine)
</p>
<div class="source">
<pre>scm:cvs:lserver:user@host:/cvs/root:module-name</pre>
</div>
<p>
For ssh access:
</p>
<div class="source">
<pre>scm:cvs:ext:user@host:/cvs/root:module-name</pre>
</div>

Remember that CVS will expect an environment variable called
<code>CVS_RSH</code> to be set, typically to <code>ssh</code> or your
ssh client.

<p>
Some cvs clients support other protocols, such as ntserver and extssh.
Here's an example using CVS NT and ntserver:
</p>
<div class="source">
<pre>scm|cvs|ntserver|user@server|e:\cvs|Deployment</pre>
</div>

Note the use of the vertical bar as delimiter as the repository has a
colon (<code>:</code>) in it.

<p>
For local file system repositories
</p>
<div class="source">
<pre>scm:cvs:local:ignored:/cvs/root:module-name</pre>
</div>

<p>
For StarTeam access:
</p>
<div class="source">
<pre>scm:starteam:username:password@host:port/project/view/folder</pre>
</div>

All of this information can be had from either the StarTeam Universal
Client (Tools-&gt;Server Administration-&gt;Server Properties) or from the
administrator.

<p>
The delimiter is determined by the character after "scm". eg.
<code>scm|cvs|pserver|user@host|/cvs/root|module-name</code>
is equivalent to that listed above. This can be useful for Windows users
who have : in their cvsroot parameter (eg. D:\cvsroot)
</p>
<p>
Where <code>pserver</code> is the protocol used to access CVS,
<code>user@host</code> is the user name to log in to the specified
cvs <strong>host</strong>, <code>/cvs/root</code> is the cvs root
directory, and <code>module-name</code> is the name of the cvs
module to be worked on
</p>

<p>As an example, the settings for an Apache project are usually:</p>
<pre>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:module-name</pre>

<p>
Currently CVS, Starteam and SubVersion are the only supported scm's.
Others will be added as soon as possible
</p>
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="developerConnection" type="xs:string" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0</xs:documentation>
                <
xs:documentation source="description">
Just like connection, but for developers, i.e. this scm connection
will not be read only.
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="url" type="xs:string" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0</xs:documentation>
                <
xs:documentation source="description">The URL to the project's browsable CVS repository.</xs:documentation>
            </
xs:annotation>
        </
xs:element>
    </
xs:all>
</
xs:complexType>


Documentation

See also: version
3.0.0


complexType Repository


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.