1MVN_FILE(7) Java Packages Tools MVN_FILE(7)
2
3
4
6 mvn_file - set installation location(s) for Maven artifact(s)
7
9 %mvn_file artifact-coordinates primary-file [secondary-file ...]
10
12 mvn_file macro causes instructions for artifact installation to be
13 added to XMvn reactor configuration. It is used to control locations of
14 artifact files in file system. (The exact meaning of artifact location
15 is dependant on particular implementation of XMvn repository into which
16 artifacts will be installed.)
17
18 Specified artifact coordinates must match at least one artifact. If not
19 then behavior is unspecified. It is possible to specify artifact
20 coordinates matching multiple artifacts, so one call to mvn_file can
21 affect installation of more than one artifact.
22
24 artifact-coordinates
25 Artifact coordinates specify artifact(s) that this rule applies to.
26 Coordinates are in format
27 groupId:artifactId[:extension[:classifier]][:version]. If extension
28 is specified then version must be specified too. If any part is
29 omitted or equal to empty string then it matches any string.
30 Wildcards and brace expansions are supported in each part. For more
31 information see XMvn Configuration Reference.
32
33 primary-file
34 Primary location of artifact file. This operand is passed directly
35 to XMvn installer. Its exact meaning is specific to particular
36 repository implementation used to install given artifact.
37 Backreferences are supported in form @n, where n is an integer
38 corresponding to brace in artifact-coordinates.
39
40 secondary-file
41 Secondary location of artifact file. There can be any number (zero
42 or more) of secondary artifact files. These operands are passed
43 directly to XMvn installer. Their exact meaning is specific to
44 particular repository implementation used to install given
45 artifact. Backreferences are supported in form @n, where n is an
46 integer corresponding to brace in artifact-coordinates.
47
49 Originally written by Mikolaj Izdebski. Versions 3.0.0 and later were
50 written by Stanislav Ochotnicky.
51
53 Bugs should be reported through Red Hat Bugzilla at
54 http://bugzilla.redhat.com/.
55
57 mvn_alias(7), mvn_build(7), mvn_compat_version(7), mvn_config(7),
58 mvn_package(7), xmvn(1).
59
60
61
62JAVAPACKAGES 11/20/2015 MVN_FILE(7)