mojohaus / rpm-maven-plugin

http://www.mojohaus.org/rpm-maven-plugin/
Other
56 stars 48 forks source link

Add addDependencyBasedRequires configuration option #95

Open EagleErwin opened 6 years ago

EagleErwin commented 6 years ago

If you specify rpm dependencies in your pom.xml like this...

<dependency>
    <groupId>my.group.id</groupId>
    <artifactId>artifact</artifactId>
    <version>1.1.0</version>
    <type>rpm</type>
</dependency>

... and set the addDependencyBasedRequires to true in the configuration of the rpm-maven-plugin, the changes in this PR will make sure that an RPM Requires is added for the specified version (or larger).

It is (in this example) equivalent to setting this in the configuration of the rpm-maven-plugin:

<requires>
    <require>my.group.id.artifact &gt; 1.1.0</require>
</requires>

This implementation requires the rpm executable to be present on the build environment for getting the required information from the dependencyArtifact file.

EagleErwin commented 6 years ago

This PR is now open for a few months, without any response. Is there any chance that it will be either merged or closed?

robth commented 6 years ago

We're using this PR and would really appreciate it to be merged and released.