Closed danidemi closed 2 years ago
Hi, I don't know if this is intended or not, but to make the plugin run on Windows I had to set the pom.xml like this:
pom.xml
<plugin> <groupId>org.panteleyev</groupId> <artifactId>jpackage-maven-plugin</artifactId> <version>1.3.0</version> <configuration> <name>xxxxxx</name> <appVersion>${project.version}</appVersion> <vendor>xxxxxxx</vendor> <input>target\jmods</input> <destination>target\dist</destination> <mainJar>cli-1.0-SNAPSHOT.jar</mainJar> <javaOptions> <option>--enable-preview</option> <option>-Dfile.encoding=UTF-8</option> </javaOptions> </configuration> <executions> <execution> <id>win</id> <configuration> <icon>src\icons\xxxxxx.ico</icon> <winMenu>true</winMenu> <appVersion>0.0.1</appVersion> </configuration> <goals> <goal>jpackage</goal> </goals> <phase>package</phase> </execution> </executions> </plugin>
...while I expected I could use / as file separator, as it's possible with other plugins, if I'm not wrong.
/
Hi, this is definitely not the case, Check my other project for example: https://github.com/petr-panteleyev/password-manager Works on Windows 10 and 11.
Hi, I don't know if this is intended or not, but to make the plugin run on Windows I had to set the
pom.xml
like this:...while I expected I could use
/
as file separator, as it's possible with other plugins, if I'm not wrong.