Maven

Maven is natively supported by JDT.LS

You can forcefully update dependencies for a Maven project by calling context menu > Maven > Reimport.

Gradle

Gradle is natively supported by JDT.LS.

NPM

There’s no plugin for Che that will automatically run npm install for JS projects. You can, however, author a custom command to install dependencies.