ADDITIONAL SYSTEM INFORMATION :
Tested OpenJDK 14 on Windows 10, Fedora 30 and macOS Mojave (10.14).
A DESCRIPTION OF THE PROBLEM :
Right now, when passing Linux specific options to JPackage while launching on Windows for instance, JPackage will raise an error and stop. So when doing a cross-platform packaging solution for a Java application in Maven, I'm forced to use separate profiles and write very verbose stuff just to add 3 specific options for Linux, 2 for Windows and none for macOS.
This will greatly simplify Maven configuration if JPackage could just raise some warnings and ignore those OS specific options targeted at the wrong OS.
Tested OpenJDK 14 on Windows 10, Fedora 30 and macOS Mojave (10.14).
A DESCRIPTION OF THE PROBLEM :
Right now, when passing Linux specific options to JPackage while launching on Windows for instance, JPackage will raise an error and stop. So when doing a cross-platform packaging solution for a Java application in Maven, I'm forced to use separate profiles and write very verbose stuff just to add 3 specific options for Linux, 2 for Windows and none for macOS.
This will greatly simplify Maven configuration if JPackage could just raise some warnings and ignore those OS specific options targeted at the wrong OS.