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

NAME

6       pom_xpath_disable - Disable all modules whose POM files satisfy given
7       XPath condition
8

SYNOPSIS

10       %pom_xpath_disable XPath-expression [POM-location]...
11

DESCRIPTION

13       This macro recursively walks all enabled submodules of given POM and
14       evaluates given XPath expression on them. If the expression returns a
15       true value, matching submodule is disabled. Values considered true are
16       defined by XPath specification as either true boolean value (i.e.
17       returned by comparisons), non-empty node set, non-empty string or
18       non-zero number.
19
20       If the main module (specified by POM-location or pom.xml by default)
21       also satisfies the condition, processing is aborted prior to making any
22       changes and an error is raised. When none of the modules satisfy it, an
23       error is also raised.
24
25       POM location can be either a full path to the POM file, or a path to
26       the directory containing pom.xml. If POM location is not given then
27       pom.xml from current working directory is used. You can specify more
28       file locations which will be processed.
29

EXAMPLES

31       %pom_xpath_disable "/pom:project/pom:classifier = 'test'" - this call
32       disables all modules with classifier test
33
34       %pom_xpath_disable /pom:project/pom:packaging - this call disables all
35       sumbodules that explicitly specify packaging
36

AUTHOR

38       Written by Michael Simacek.
39

REPORTING BUGS

41       Bugs should be reported through Java Packages Tools issue tracker at
42       Github: https://github.com/fedora-java/javapackages/issues.
43

SEE ALSO

45       pom_add_dep(7), pom_add_parent(7), pom_add_plugin(7),
46       pom_remove_dep(7), pom_remove_parent(7), pom_remove_plugin(7),
47       pom_change_dep(7), pom_set_parent(7), pom_xpath_inject(7),
48       pom_xpath_remove(7), pom_xpath_replace(7), pom_xpath_set(7).
49       pom_disable_module(7).
50
51
52
53JAVAPACKAGES                      01/29/2020              POM_XPATH_DISABLE(7)
Impressum