Skip to content

Commit

Permalink
Update izpack to 5.2.1
Browse files Browse the repository at this point in the history
This fixes an issue when building with Java 14+
See https://openjdk.org/jeps/367
  • Loading branch information
xavierba committed Apr 3, 2024
1 parent 41f8711 commit 0fea313
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 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
11 changes: 6 additions & 5 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 @@ -75,4 +76,4 @@
<os family="windows"/>
</native>

</installation>
</izpack:installation>

0 comments on commit 0fea313

Please sign in to comment.