Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Lifecycle Mappings

...


Info
titleNote

For the izpack-jar mapping is important to add the <extensions>true</extensions>. If you don't, Maven will not be able to see this as a valid packaging. See the example usage below.


Configuration

...


Configuration AttributeValue RangeDefault ValueDescription

baseDir

string
${project.build.directory}/staging
Base directory of compilation process

installFile

string
${basedir}/src/main/izpack/install.xml
Location of the IzPack installation file.

comprFormat

default | gz | bzip2 | xz | lzma | deflate

default

Optional compression format for single files defined in <packs>. All files in all packs except those explicitly marked as <pack200/> are automatically added compressed in the given format and uncompressed later when the installer starts. This may significantly decrease the installer size, but take some more time to compile the installer and install the files later.

See also Compressing pack files for more information on this feature.

Since: IzPack 5.1 (has been broken in 5.0)

comprLevel

integer -1, 0..9

9
The compression level of the resulting installer jar file.
This attribute has nothing in common with the compression attribute declared above, which defines compression for single files added in packs, but defines just the compression level of the whole installer jar file itself.

outputDirectory


${project.build.directory}
Target directory containing the compiled installer jar

mkdirs

true | false
false
Whether to automatically create parent directories of the output file

finalName



Name of the compiled installer jar
classifier
Not setClassifier to add to the artifact generated. If given, the artifact is attachable. Furthermore, the output file name gets -classifier as suffix. If this is not given,it will merely be written to the output directory according to the finalName.
enableAttachArtifact
true | false
true

Whether to attach the generated installer jar to the project as artifact if a classifier is specified. This has no effect if no classifier was specified.

Info

Will not be available after 5.1.3. Refer to

Jira Legacy
serverSystem JIRA
serverId4741b2e0-e7d5-3853-84a7-22db1abe3b3c
keyIZPACK-1660
.


enableOverrideArtifact

true | false
false

Whether to override the artifact file by the generated installer jar, if no classifier is specified. This will set the artifact file to the given name based on outputDirectory + finalName or on output. This has no effect if a classifier is specified.

Removed Since: IzPack 5.1.3.

autoIncludeUrl

true | false
false

Whether to automatically include project.url from Maven into the IzPack info header

autoIncludeDevelopers

true | false
false

Whether to automatically include developer list from Maven into IzPack info header

kind

standard | web
standard

Resulting installer type

...