mojohaus / rpm-maven-plugin

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

Mappings from file? #114

Open rkosegi opened 5 years ago

rkosegi commented 5 years ago

It would be really nice if mappings can be defined in XML file. For example it could be constructed by some means during generate-resources phase. One particular use case is when you have lots of structurally distinct rpms as child modules but you can figure out structure during build (eg. by presence of some directories). Then mappings can be constructed (eg. by inlined groovy script in parent pom ) and plugin configuration in children will remain minimal.

Stockatansky commented 5 years ago

I like this idea. Now our pom is exploded with rpm mapping. Is already some started with this our do we need to writer it our self?

robth commented 5 years ago

Agree. This would be very useful. Would submitting a PR have a chance of being accepted? As in: do the maintainers agree with this idea?