Hi,
i'm looking for the best way to auto fill the require field in the rpm
plugin.
since we're using rpm/yum as the deployer of our java apps,
i don't want to mange a duplicate set of dependencies in the pom file,
in order to do so, i want to fill the requires tag auto from the maven
I think you really want an rpm packaging type then the listed deps which are
typerpm/type would be the ones which are required
not sure if the plugin supports the above
On 24 March 2010 13:20, eyal edri eyal.e...@gmail.com wrote:
Hi,
i'm looking for the best way to auto fill the require
#Dependency
it does notbut it would very handy to have thatcause i really could
use it as well..
Kind regards
Karl Heinz Marbaise
--
View this message in context:
http://old.nabble.com/reading-dependency-list-from-pom-into-rpm-plugin-require-tp28014957p28015307.html
Sent from the Maven
you mean that the pom packaging will be set to rpm?
but then, the development env (not deploy) won't work i think..
cause the maven dependencies will look for the jar in the repository.
that way i create a jar which is deployed to the repository (for normal dev
env) and also an rpm which is
having requires in a rpm on an artifact which is not also an rpm will give
you a requires that can never be satisfied.
therefore you would need to have dependencies with typerpm/type in order
to patch the rpm plugin to scan the dependencies for deps to add as a
requires.
That would not mandate