-
Notifications
You must be signed in to change notification settings - Fork 519
Description
I have my .m2 repo folder in a different dive/location and I have updated the same in settings.xml. Maven from command line works fine outside of VSCode. But the extension seems to refer the old location somehow.
I am not even sure how the previous location is 'known' to the extension.
Environment
- Operating System: Windows 7 Pro
- JDK version: JDK8
- Visual Studio Code version: 1.23.0-insiders
- Java extension version: 0.24.0
Steps To Reproduce
- [step 1]
- [step 2]
[attach a sample project reproducing the error]
[attach logs]
[Error - 7:50:06 PM] May 2, 2018 7:50:01 PM Error occured while building workspace. Details:
message: The container 'Maven Dependencies' references non existing library 'C:\Users<username>.m2\repository\junit\junit\4.8.2\junit-4.8.2.jar';code: 964
message: The project cannot be built until build path errors are resolved;code: 0
Current Result
The plugin is referring to the default location to pick up the jars
Expected Result
The plugin should be able to pick up the jars from the right location (moved location)
Additional Informations
I have tried giving the property java.configuration.maven.userSettings to the new location but still get the same error