Yes, you need to include rpm maven plugin in your pom.xml file. Here is an example for your reference - http://mojo.codehaus.org/rpm-maven-plugin/example1.html
_Sanjit On Mon, Oct 21, 2013 at 12:17 AM, Fosiul Alam <fos...@gmail.com> wrote: > Hi, > I am very new to jenkins and maven, spent quite a lot of time today to > understand how it works, > i am getting the idea but i am having issues of creating the rpm files. > > build is green but rpm file is not creating. > > So i just want to start with a very basic file to create rpm > > example : > > svn directory has this : helloword.sh pom.xml > > so i am expecting to create an rpm like helloworld-0.0.1-0.2.noarch.rpm , > > but its looks like i need to write something in the pom.xml file to create > the rpm > > Can any one please provide me a pom.xml file for that helloworld.sh file > to create a rpm helloworld-0.0.1-0.2.noarch.rpm ?? > > Can any one please help me to create one rpm file so that i can dig in > more details. > > Thanks > Regards > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.