Hosts

Nested Elements

Element Occurance Description
host 0..1

Declaration of a remote host. The value of the element is an http address of a server the implements the Maven style repository model.

I.e. [root]/[group-id]/[type-id]s/[artifact-name][-[version]].[type]

 <host>http://www.ibiblio.org/maven/</host>

Description

If a resource is unknown within the local cache, the repository implementation will attempt to resolve the resource relative to one or more an external hosts. Hosts are checked relative to the order listed under this element.

Sample XML

  <repository>
    <hosts>
      <host>http://www.osm.net/repository/</host>
      <host>http://www.ibiblio.org/merlin/repository/</host>
      <host>http://www.ibiblio.org/maven/</host>
    </hosts>
  </repository>