vscode-maven icon indicating copy to clipboard operation
vscode-maven copied to clipboard

Maven Validate omits user setings

Open joe0532 opened this issue 2 years ago • 1 comments

Type: Bug

Under Explorer, expand Maven, Lifecycle. Run validate. The mvn command that the terminal executes omits /settings.xml. The command that appears in the terminal is

mvn -s "C:/Dev/Programs/VSCode-win32-x64-1.83.1/data/user-data/.m2" validate -f "c:\Dev\Projects\de-cameo-json-export\Cameo\demo\pom.xml"

instead of

mvn -s "C:/Dev/Programs/VSCode-win32-x64-1.83.1/data/user-data/.m2/settings.xml" validate -f "c:\Dev\Projects\de-cameo-json-export\Cameo\demo\pom.xml"

Note /settings.xml is missing from the first command.

I have checked that Java>Configuration>Maven: User Settings is set to the path in the second command.

Extension version: 0.42.0 VS Code version: Code 1.83.1 (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:48:05.904Z) OS version: Windows_NT x64 10.0.19044 Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2904)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 63.85GB (38.71GB free)
Process Argv --crash-reporter-id e3a78860-c67f-45a6-859f-61b9efaf2a55
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263cf:30856253
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
282f8724:30602487
f6dab269:30613381
showlangstatbar:30737416
a2ce3375:30757347
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
copilotsettingt:30859503
synctok:30869157
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30866405
pyreplss1:30865275
h48ei257:30869481
pythontbext0:30864172

joe0532 avatar Oct 23 '23 22:10 joe0532

Java>Configuration>Maven: User Settings is contributed by RedHat Java extension, it makes sense to recognize it in vscode-maven.

testforstephen avatar Nov 07 '23 01:11 testforstephen