Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update izpack to 5.2.1 #243

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Loading