pom.xml to create rpm

470 views
Skip to first unread message

Fosiul Alam

unread,
Oct 20, 2013, 2:47:46 PM10/20/13
to jenkins...@googlegroups.com
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


Richard Bywater

unread,
Oct 20, 2013, 9:10:04 PM10/20/13
to jenkins...@googlegroups.com
Sounds like you might be better off asking a question like this on a Maven-based list as the audience is likely to be more specialised in this area.

Richard
--
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-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Sanjit Mohanty

unread,
Oct 20, 2013, 9:42:31 PM10/20/13
to jenkins...@googlegroups.com

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


Reply all
Reply to author
Forward
0 new messages