petr-panteleyev / jpackage-maven-plugin

JPackage Maven Plugin
https://codeberg.org/petr-panteleyev/jpackage-maven-plugin
BSD 2-Clause "Simplified" License
37 stars 8 forks source link

Fallback if tool-chaing plugin not installed #2

Closed vananiev closed 4 years ago

vananiev commented 4 years ago

Fallback to 'jpackage' if tool-chaing plugin not installed and absolute jpackage location can't be find. This works if jpackage can be find by PATH/JAVA_HOME env variable.

petr-panteleyev commented 4 years ago
  1. Argument escaping is a bit more complicated and works differently on Windows and OS X
  2. If toolchain is not configured it makes more sense to search in $java.home/bin
  3. Surrounding everything with quotes breakes OS X build.
  4. See 0.0.4
vananiev commented 4 years ago

--description and --copyright args may have spaces

petr-panteleyev commented 4 years ago

java.lang.Process handles this.