complexType RepositoryPolicy

complexType {http://maven.apache.org/POM/4.0.0}RepositoryPolicy

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


Source

<xs:complexType name="RepositoryPolicy">
    <
xs:annotation>
        <
xs:documentation source="version">4.0.0</xs:documentation>
        <
xs:documentation source="description">Download policy</xs:documentation>
    </
xs:annotation>
    <
xs:all>
        <
xs:element name="enabled" minOccurs="0" type="xs:boolean" default="true">
            <
xs:annotation>
                <
xs:documentation source="version">4.0.0</xs:documentation>
                <
xs:documentation source="description">Whether to use this repository for downloading this type of artifact</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="updatePolicy" minOccurs="0" type="xs:string">
            <
xs:annotation>
                <
xs:documentation source="version">4.0.0</xs:documentation>
                <
xs:documentation source="description">
The frequency for downloading updates - can be "always", "daily" (default), "interval:XXX" (in minutes) or
"never" (only if it doesn't exist locally).
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="checksumPolicy" minOccurs="0" type="xs:string">
            <
xs:annotation>
                <
xs:documentation source="version">4.0.0</xs:documentation>
                <
xs:documentation source="description">
What to do when verification of an artifact checksum fails - warn, fail, etc. Valid values are
"fail" or "warn"
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
    </
xs:all>
</
xs:complexType>


Documentation

See also: version
4.0.0
See also: description
Download policy


complexType RepositoryPolicy


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.