1MVN_ALIAS(7) Java Packages Tools MVN_ALIAS(7)
2
3
4
6 mvn_alias - add alias(es) for Maven artifact(s)
7
9 %mvn_alias artifact-coordinates alias [alias ...]
10
12 mvn_alias macro causes instructions for artifact installation to be
13 added to XMvn reactor configuration. It is used to specify alternative
14 names (aliases) for Maven artifacts.
15
16 Specified artifact coordinates must match at least one artifact. If not
17 then behavior is unspecified. It is possible to specify artifact
18 coordinates matching multiple artifacts, so one call to mvn_alias can
19 affect installation of more than one artifact.
20
22 artifact-coordinates
23 Artifact coordinates specify artifact(s) that this rule applies to.
24 Coordinates are in format
25 groupId:artifactId[:extension[:classifier]][:version]. If extension
26 is specified then version must be specified too. If any part is
27 omitted or equal to empty string then it matches any string.
28 Wildcards and brace expansions are supported in each part. For more
29 information see XMvn Configuration Reference.
30
31 alias
32 Coordinates specifying artifact alias (alternative name under which
33 matching artifacts will be available). Coordinates are in format
34 groupId:artifactId[:extension[:classifier]][:version]. If extension
35 is specified then version must be specified too. If any part is
36 omitted or equal to empty string then corresponding part from
37 artifact-coordinates will be substituted. Backreferences are
38 supported in form @n, where n is an integer corresponding to brace
39 in artifact-coordinates.
40
42 Originally written by Mikolaj Izdebski. Versions 3.0.0 and later were
43 written by Stanislav Ochotnicky.
44
46 Bugs should be reported through Java Packages Tools issue tracker at
47 Github: https://github.com/fedora-java/javapackages/issues.
48
50 gradle_build(7), mvn_build(7), mvn_compat_version(7), mvn_config(7),
51 mvn_file(7), mvn_package(7), xmvn(1).
52
53
54
55JAVAPACKAGES 07/20/2023 MVN_ALIAS(7)