简体   繁体   中英

Maven exec with multiple system properties

I'm trying to run mvn exec with multiple system properties...it works ok with one but not with two for some reason.

eg This works fine

mvn  -Dlocation=c:\tmp  exec:java -Dexec.mainClass="MyClass"

This doesn't work

mvn  -Dlocation=c:\tmp  -Djava.library.path=c:\zeromq\ exec:java -Dexec.mainClass="MyClass"

答案中提出的解决方案呢?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM