Issue
I have been reading about building rpm from war files & use them for installation. As part of it I downloaded rel="nofollow">sample war and trying to create rpm. My tomcat version is 7.0. I ran rpmdev-setuptree which creates the directory hierarchy needed for rpm build. All I intend to do by installing the rpm is : stop tomcat, delete the sample.war & sample folder from webapps, copy new war to webapps & start tomcat. Can I accomplish it? or rather I would like to know, is this the correct way of using rpm build from the war? Or am I missing something?
Solution
If you are using maven you can use the RPM maven plugin
Answered By - uniknow Answer Checked By - Marilyn (WPSolving Volunteer)