… but it didn’t help at all. Can anyone give me some hint what is wrong with this code, or how can I enable as much logging as possible to reveal what went wrong (–debug is not enough).
I figured it out in meantime however. I was running this task from parent project and I was wondering, why it didn’t execute in sub-project (but that’s different issue still to be solved :)).
When I run mentioned command from correct directory, it passed and copied all dependencies as required :).
Note:
commandLine 'mvn', 'dependency:copy-dependencies'
results in "execCommand == null!"
commandLine 'cmd', '/c', 'mvn', 'dependency:copy-dependencies'
use for Windows