mvn_artifact man page

mvn_artifact — request installation of Maven artifact

Synopsis

%mvn_artifact [options] model [artifact-file]

%mvn_artifact [options] artifact-coordinates artifact-file

Description

mvn_artifact macro marks specified Maven artifact to be installed by further call to mvn_install. Multiple calls to mvn_artifact and/or mvn_build can be made to request installation of multiple artifacts.

Options

--skip-dependencies
Do not try to gather list of dependencies for given Maven artifact.
-Dproperty=value
Add artifact property

Operands

model

Path to raw project object model (POM) file to be associated and installed with artifact.

artifact-file

Path to file to be used as artifact file. If omitted then no artifact file is installed.

artifact-coordinates

Artifact coordinates specify artifact to be installed. If specified then no model file is installed with artifact. Coordinates are in format groupId:artifactId[:extension[:classifier]]:version. If extension is omitted then "jar" is used. If classifier is omitted then empty classifier is used. For more information see XMvn Configuration Reference.

Author

Written by Michal Srb.

Reporting Bugs

Bugs should be reported through Red Hat Bugzilla at http://bugzilla.redhat.com/.

See Also

gradle_build(7), mvn_build(7), mvn_install(7).

Referenced By

mvn_install(7).

11/18/2016 JAVAPACKAGES Java Packages Tools