mojohaus / appassembler

https://www.mojohaus.org/appassembler/
MIT License
93 stars 49 forks source link

Error passing JAVA_OPTS with spaces and quotes #96

Open jeremylong opened 4 years ago

jeremylong commented 4 years ago

A recent ticket on my project, which uses the appassembler plugin, indicates that the script generated by appassembler fails when JAVA_OPTS contains spaces and quotes. See https://github.com/jeremylong/DependencyCheck/issues/2282 as a reference.

@Silwing was kind enough to point out how the others have solved this issue: https://github.com/jenkinsci/docker/issues/213 (see commit https://github.com/fatihkilic/docker/commit/887ae3e1dfac57ddde9e8b7465bc4a1ccd290732).