izpack-maven-plugin is not including native libraries by default

我的梦境 提交于 2019-12-06 14:27:59

for IzPack 4 you must not use a wrapper element here, just use the following:

<native type="izpack" name="ShellLink.dll"/>
<native type="izpack" name="ShellLink_x64.dll"/>
<native type="izpack" name="WinSetupAPI.dll"/>
<native type="izpack" name="WinSetupAPI_x64.dll"/>

This is also documented in the installation.dtd:

<!ELEMENT installation (info, packaging?, properties?, variables?,dynamicvariables?,conditions?,installerrequirements?, guiprefs?, locale, resources?, panels, listeners?, packs, jar*, native*)>

For IzPack 5 the dtd has been changed to the syntax you are using above.

try to add this in your pom.xml

<!-- https://mvnrepository.com/artifact/org.codehaus.izpack/izpack-native -->
<dependency>
    <groupId>org.codehaus.izpack</groupId>
    <artifactId>izpack-native</artifactId>
    <version>5.0.9</version>
</dependency>
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!