Tim Holloway wrote:Welcome to the Ranch, Nikunj!
I am confused about why you want to do this. When using Maven to build an RPM, the POM is the "makefile".
For a non-Maven RPM project, the makefile is in the RPM source directory that is created under your RPM SOURCES directory when the RPM build process unpacks the SRPM. But if Maven is doing the build, then Maven has to do what Maven does, and normally this doesn't involve a non-Java build step or even an SRPM unpack/build operation.
Thank you.
M confused too.
Let me ask one thing, ok i have some files in this project, that should be compiled through different compiler and all the compiled files should be deployed. that's what this makefile does : creates dir, and run the files through compiler. and i m trying to use RPM-maven plugin to create RPM out of those compiled files before deploying. Any suggestions on what can be done?