You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have requirement to create mtar by downloading few jars from maven repositories, so we are trying to use below fetcher option. But it is failing with error:
ERROR could not build the "my_module" module: could not execute the "mvn -B dependency:copy -Dartifact=mygroup:myart:1.0.0:war -DoutputDirectory=./target" command: fork/exec C:\x7z\apache_maven_3_9_5\bin\mvn.cmd: The directory name is invalid.
Note: running "mvn -B dependency:copy -Dartifact=mygroup:myart:1.0.0:war -DoutputDirectory=./target" directly works fine. But on running through mbt build, it is failing.
Please let us know how it can be resolved.
Thanks,
Manoj.
The text was updated successfully, but these errors were encountered:
Hi Team,
We have requirement to create mtar by downloading few jars from maven repositories, so we are trying to use below fetcher option. But it is failing with error:
ERROR could not build the "my_module" module: could not execute the "mvn -B dependency:copy -Dartifact=mygroup:myart:1.0.0:war -DoutputDirectory=./target" command: fork/exec C:\x7z\apache_maven_3_9_5\bin\mvn.cmd: The directory name is invalid.
- name: my_module
build-parameters:
builder: fetcher
fetcher-opts:
repo-type: maven
repo-coordinates: mygroup:myart:1.0.0
Note: running "mvn -B dependency:copy -Dartifact=mygroup:myart:1.0.0:war -DoutputDirectory=./target" directly works fine. But on running through mbt build, it is failing.
Please let us know how it can be resolved.
Thanks,
Manoj.
The text was updated successfully, but these errors were encountered: