This resolver is only used to resolve dependencies. By default, it assumes artifacts in your repository are laid-out in the popular and standard Maven 2 format (which may not always be the case).
The IBiblio resolver can resolve artifacts from remote Maven 2 HTTP repositories, and if you use version ranges it relies on maven-metadata.xml
files in the remote repository to gather information on the available versions.
To use the IBiblio resolver, add the following to your ivysettings.xml file
:
<resolvers> <ibiblio name="artifactory" m2compatible="true" root="http://localhost:8080/artifactory/libs-releases"/> </resolvers>
Note
The URL specified in the root
property must point to an Artifactory repository. In the above example, it is the pre-configured libs-releases
virtual repository.
Them2compatible
property configures the resolver with an artifact pattern that follows the standard Maven 2 layout.