Create an exe-File in Maven with VM-Arguments for

2019-07-10 00:14发布

问题:

i am currently working on a Java-Project that needs VM Arguments specifying the java.library.path. When running my program out of Eclipse - No problem, i can specify my VM arguments easily. Now i want to build my project via maven and haven't found a possibility to give said arguments to this exe.

Just calling my exe with this argument on the command line does not work, so where do i have to put this information in my pom-file?