Url Resolver

Tagurl
Handle latestyes with http urls (and apache server) and with file urls, no with other urls
Handle publishyes with http urls whose destination supports publishing (as of Ivy 2.0)

This resolver is one of the most generic, in fact most of the previous resolvers can be obtained by a particular configuration of this one. Indeed it uses urls to find ivy files and artifacts. The urls it uses are defined through ivy and artifact children, each giving a pattern to find ivy files or artifacts.

Limitation: in m2compatible mode, this resolver is not able list available organizations. It means some features like repreport are not available.

Attributes

This resolver shares the common attributes of standard resolvers.
AttributeDescriptionRequired
m2compatibleTrue if this resolver should be maven2 compatible, false otherwise since 1.3 No, defaults to false

Child elements

ElementDescriptionCardinality
ivydefines a pattern for ivy files, using the pattern attribute 0..n
artifactdefines a pattern for artifacts, using the pattern attribute 1..n

Example

<url name="two-patterns-example">
<ivy pattern="http://ivyrep.mycompany.com/[module]/[revision]/ivy-[revision].xml" />
<artifact pattern="http://ivyrep.mycompany.com/[module]/[revision]/[artifact]-[revision].[ext]" />
<artifact pattern="http://ivyrep.mycompany.com/[module]/[revision]/[artifact].[ext]" />
</url>
Looks for ivy files in one place and for artifacts in two places: with or without revision in name (revision being already in the directory structure).