On 07/11/2013 01:22 PM, Matthias Wessendorf wrote:
imagine there is a maven build, that produces a WAR file.
Would it be possible to "stick" the WAR into an RPM ?
It would be possible, but Fedora currently lacks guidelines for
packaging Web archives. There was some effort in the past for
standardizing this, but it was dead-ended.
Because of the above, installation of WAR files is not supported out of
the box, but it still can be done. There are several packages
installing WARs in non-standard way (for example thermostat or bsh). You
can see their spec files for example how this can be done.
--
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk