Вопрос

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

e.g. 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"
Это было полезно?

Решение

What about the solution proposed in this answer?

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top