1MVN_PACKAGE(7)                Java Packages Tools               MVN_PACKAGE(7)
2
3
4

NAME

6       mvn_package - specify target package for Maven artifact(s)
7

SYNOPSIS

9       %mvn_package artifact-coordinates [target-package]
10

DESCRIPTION

12       mvn_package macro causes instructions for artifact installation to be
13       added to XMvn reactor configuration. It is used to specify target
14       package to which Maven artifacts should be installed.
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_package can
19       affect installation of more than one artifact.
20

OPERANDS

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       target-package
32           Name of target (sub-)package to which matching artifacts will be
33           installed. Backreferences are supported in form @n, where n is an
34           integer corresponding to brace in artifact-coordinates. A special
35           value of noinstall means that matching artifact(s) should not be
36           installed to any package. Special value of default means that
37           matching artifact(s) should be installed into main package. If
38           target-package is omitted value of __default is assumed.
39

AUTHOR

41       Originally written by Mikolaj Izdebski. Versions 3.0.0 and later were
42       written by Stanislav Ochotnicky.
43

REPORTING BUGS

45       Bugs should be reported through Java Packages Tools issue tracker at
46       Github: https://github.com/fedora-java/javapackages/issues.
47

SEE ALSO

49       gradle_build(7), mvn_alias(7), mvn_build(7), mvn_compat_version(7),
50       mvn_config(7), mvn_file(7), xmvn(1).
51
52
53
54JAVAPACKAGES                      07/21/2022                    MVN_PACKAGE(7)
Impressum