microsoft / vscode-maven

VSCode extension "Maven for Java"
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-maven
Other
179 stars 88 forks source link

It's not clear how plugin does download of dependencies without maven installed #989

Open efcjunior opened 1 year ago

efcjunior commented 1 year ago

Hi

I've not found any information how this plugin makes the download without maven installed and without maven wrapper in root folder.

My VS CODE has only the Maven For Java plugin installed and when I import a simple Maven project, it starts the download of dependencies into .m2 directory. However, if I try execute any lifecycle task through the plugin, then I got an error advising me it didn't find maven.

So, if it does not exist maven, how can it make download of dependencies?

Thanks.

testforstephen commented 1 year ago

when I import a simple Maven project, it starts the download of dependencies into .m2 directory.

This capability is not provided by vscode-maven, but done by redhat Java language support extension, which integrates an embedded m2e to handle maven downloading.

efcjunior commented 1 year ago

This capability is not provided by vscode-maven, but done by redhat Java language support extension, which integrates an embedded m2e to handle maven downloading.

Thanks. The strange is when I remove the vscode-maven, the dependecies are not downloaded.