Skip to content

Commit

Permalink
Merge pull request #243 from xavierba/update_izpack
Browse files Browse the repository at this point in the history
Update izpack to 5.2.1
  • Loading branch information
coudot authored Apr 4, 2024
2 parents 41f8711 + 2f2f5e5 commit 2b45cd7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
13 changes: 7 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,16 @@
<plugin>
<groupId>org.codehaus.izpack</groupId>
<artifactId>izpack-maven-plugin</artifactId>
<version>1.0-alpha-5</version>
<version>5.2.1</version>

<!-- common configuration by all executions -->
<configuration>
<descriptor>${basedir}/src/install/install.xml</descriptor>
<descriptorEncoding>UTF-8</descriptorEncoding>
<fileExtension>jar</fileExtension>
<installerFile>${project.build.directory}/${project.artifactId}-${project.version}-installer.jar</installerFile>
<izpackBasedir>${project.build.directory}/${project.build.finalName}-dist/lsc-${project.version}</izpackBasedir>
<baseDir>${project.build.directory}/${project.build.finalName}-dist/lsc-${project.version}</baseDir>
<installFile>src/install/install.xml</installFile>
<mkdirs>true</mkdirs>
<finalName>${project.artifactId}-${project.version}-installer.jar</finalName>
<enableAttachArtifact>false</enableAttachArtifact>
<autoIncludeUrl>true</autoIncludeUrl>
</configuration>

<executions>
Expand Down
19 changes: 11 additions & 8 deletions src/install/install.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>

<installation version="1.0">
<izpack:installation version="5.0"
xmlns:izpack="http://izpack.org/schema/installation"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://izpack.org/schema/installation http://izpack.org/schema/5.0/izpack-installation-5.0.xsd">

<info>
<appname>${project.name}</appname>
<appversion>@{project.version}</appversion>
<appsubpath>LSC</appsubpath>
<url>@{project.url}</url>
<appsubpath>LSC</appsubpath>
<uninstaller name="uninstall.jar" path="${INSTALL_PATH}" write="yes" />
<javaversion>1.6</javaversion>
<requiresjdk>no</requiresjdk>
Expand Down Expand Up @@ -55,7 +56,7 @@
</panels>

<listeners>
<listener installer="SummaryLoggerInstallerListener">
<listener classname="SummaryLoggerInstallerListener" stage="install">
<os family="windows" />
</listener>
</listeners>
Expand All @@ -71,8 +72,10 @@
The native libraries to add. This is required for creating shortcuts
on Windows
-->
<native type="izpack" name="ShellLink.dll">
<os family="windows"/>
</native>
<natives>
<native type="izpack" name="ShellLink.dll">
<os family="windows"/>
</native>
</natives>

</installation>
</izpack:installation>

0 comments on commit 2b45cd7

Please sign in to comment.