Maven
Maven is natively supported by JDT.LS.
You can forcefully update dependencies for a Maven project by selecting Maven > Reimport from the context menu.
Gradle
Gradle is natively supported by JDT.LS.
NPM
There is no plugin for Che that would automatically run npm install for JavaScript projects. As a workaround, you can create a custom command to install dependencies.