Type use

Specify the preferred version for an artifact. If multiple definitions are found for the same artifact, the first one is used.

The following definitions are equivalent:

<use key="org.violetlib:vaqua" version="10"/>
<use coords="org.violetlib:vaqua:10"/>

Parameters accepted as attributes

Attribute Description Type Required?
key An identification of the required library. The key is a prefix of a Maven repo coordinate containing the organization and the artifact identifier. String No. Either a key and version must be defined, or coordinates must be defined.
version The desired version the required library. String No. Either a key and version must be defined, or coordinates must be defined.
coords Specify the required library and the desired version of the library. String No. Either a key and version must be defined, or coordinates must be defined.