[izpack-users] Maven2-based HelloWorld operation

Sandor Vroemisse svroemisse at gmail.com
Thu Jul 12 09:51:43 CEST 2007


Jason Thrasher wrote:
> Hi All,
> I'm looking into using IzPack for a project, and I'm struggling to 
> figure out how to create an installer bundle for my program 
> using Maven.  There doesn't appear to be any documentation or examples 
> for the new files in the Maven2 repo on ibiblio.
>  
> While the old plugin appears to be written for Maven-1, which is 
> documented here: 
> http://maven-plugins.sourceforge.net/maven-izpack-plugin/  Is there a 
> new plugin for Maven2?
>  
> Do the jars in the Maven2 repository used similarly to the old Maven1 
> plugin?
> http://maven.ozacc.com/search?keyword=izpack&type=jar 
> <http://maven.ozacc.com/search?keyword=izpack&type=jar>

Since response is slow, I'll add my 2 cents - FWIW.

I don't know anything about Maven, I use Ant. In Ant, I run the Izpack 
compiler as a Java program - without using any special tags. Like so:

        <java    classname="com.izforge.izpack.compiler.Compiler"
                classpath="${izpack.dir}/lib/compiler.jar"
                fork="true"
                maxmemory="800m"
                dir="${izpack.dir}"
                failonerror="true"
        >
            <arg 
file="${build.dir}/installer_crossplatform_working_copy.izy"/>
            <arg value="-o"/>
            <arg file="${temp.dir}/installer.jar"/>
        </java>

I suppose you can do something similar with Maven.

Hint: running
java -jar lib/compiler.jar -?
from the izpack dir will show the command-line options.


HTH,
Sandor Vroemisse



More information about the izpack-users mailing list