Specifying system properties or command line argum

2019-07-18 13:39发布


we would like to use appassembler-maven-plugin to generate daemon scripts for our apps, we want to avoid having multiple configuratoins and generated scripts for the different environments, e.g. test, prod, etc., and would like to be able to set a jvm system property or add an extra command line argument when starting. I have been looking into this for a while ow and can't seem to find a solution.
If anybody has any ideas or suggestions they would be greatly appreciated,

thanks

1条回答
Rolldiameter
2楼-- · 2019-07-18 14:04

You can use the extraJvmArguments to put such things as a system property. See the examples on the documentation page.

查看更多
登录 后发表回答