This project contains a model definition of maven POM files, with it an easy way
pom.xml files into data structures using
mvn-genbr binary can be used to generate
BuildRequires for RPM builds.
It's now available in
rawhide as an experimental feature. To use it for your
maven-local (as usual) and
Do your usual processing in
pom.xml modifications, like modifying
dependencies and enabling/disabling plugins). Then, to use automatically generated
%generate_buildrequires mvn-genbr .
To enable dependencies for tests (with the
test scope in maven), use the
parameter. To use additional (or different) root directories (instead of
just add those as arguments. The program will look for
pom.xml files in those
paths, parse them, and print the corresponding
BuildRequires in the format
mock expect them.