[fedora-java] Turning a WAR file into a RPM ?

Fernando Nasser fnasser at redhat.com
Thu Jul 11 13:23:10 UTC 2013


> 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).

The issue is just JAR files inside the WAR file.  
If it is a WAR file with no other archives hidden inside it can be considered OKish.

--Fernando

> You
> can see their spec files for example how this can be done.
> 
> --
> Mikolaj Izdebski
> Software Engineer, Red Hat
> IRC: mizdebsk
> --
> java-devel mailing list
> java-devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/java-devel


More information about the java-devel mailing list