Re: Turning a WAR file into a RPM ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom,


just found this:

https://github.com/ajmfulcher/fpm-maven-plugin

I will try that one later

-M

----- Original Message -----
> From: "Tom Hodder" <tom@xxxxxxxxxxxxxxxx>
> To: "Matthias Wessendorf" <matzew@xxxxxxxxxx>
> Cc: java-devel@xxxxxxxxxxxxxxxxxxxxxxx
> Sent: Thursday, July 11, 2013 1:36:07 PM
> Subject: Re:  Turning a WAR file into a RPM ?
> 
> On 11 July 2013 12:22, Matthias Wessendorf <matzew@xxxxxxxxxx> wrote:
> 
> > Hi,
> >
> > imagine there is a maven build, that produces a WAR file.
> >
> > Would it be possible to "stick" the WAR into an RPM ?
> 
> 
> Someone might since have maven-ized fpm;
> 
> https://github.com/jordansissel/fpm
> http://www.semicomplete.com/blog/tags/deb
> 
> but if that is not the case then wrapping "fpm" in antrun has been my
> tactic;
> 
> +      <plugin>
> +        <groupId>org.apache.maven.plugins</groupId>
> +        <artifactId>maven-antrun-plugin</artifactId>
> +        <executions>
> +          <execution>
> +            <id>izpack</id>
> +             <phase>package</phase>
> +            <configuration>
> +              <tasks>
> +               <echo message="Starting Ant izPack build ..." />
> +               <property name="plugin_classpath"
> refid="maven.plugin.classpath"/>
> nux/gtk/x86_64/ -a amd64 -n chefclipse --prefix /usr/lib/chefclipse -p
> target/chefclipse_1.0_amd64.deb ." />
> +                </exec>
> +                <exec executable="fpm">
> +                       <arg line="-s dir -t deb -C
> target/products/org.limepepper.chefclipse.product/linux/gtk/x86/ -a i386 -n
> chefclipse --prefix /usr/lib/chefclipse -p target/chefclipse_1.0_i386.deb
> ." />
> +                </exec>
> +                <exec executable="fpm">
> +                       <arg line="-s dir -t rpm -C
> target/products/org.limepepper.chefclipse.product/linux/gtk/x86_64/ -a
> x86_64 -n chefclipse --prefix /usr/lib/chefclipse -p
> target/chefclipse_1.0_amd64.rpm ." />
> +                </exec>
> +                <exec executable="fpm">
> +                       <arg line="-s dir -t rpm -C
> target/products/org.limepepper.chefclipse.product/linux/gtk/x86/ -a i686 -n
> chefclipse --prefix /usr/lib/chefclipse -p target/chefclipse_1.0_i686.rpm
> ." />
> +                </exec>
> +              </tasks>
> +            </configuration>
> +            <goals>
> +              <goal>run</goal>
> +              <goal>run</goal>
> +            </goals>
> +          </execution>
> +        </executions>
> 
> 
> 
> 
> 
> >
> >
> 

-- 
Matthias Wessendorf
matzew@xxxxxxxxxx

JBoss, by Red Hat
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel





[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux