Hi- I need to add an rpm packaging stage to my maven build. I looked through the docs for the mvn rpm plugin, and I think it may be missing a feature or two that I need. I have a few questions. I'm pretty new to Maven, so sorry if some of my questions are a bit off the mark. Any help would be appreciated.
1. Is there a capability to include a dynamically generated filelist instead of hard-coding it in the POM? The rpm spec file format allows this with "%files -f". Does the plugin have an analogous function? 2. Is there a capability to dynamically change the release number to a perforce changelist? I know there's a build number plugin. Can these be used together? 3. If I must use exec instead of the rpm plugin, what would be the appropriate phase to bind to? "package" really won't work for me, because I just want that stage to produce jars. Is it hard to add a new build cycle phase? 4. Can I create a target that's not bound to a particular phase and invoke it directly? I've tried doing this with the exec plugin, but when I invoke "mvn exec:exec", it seems to run once for every target. Thanks- Carter