Coming from npm/yarn background, for each and every project we will have node_modules which holds all the dependencies and libraries, if we wish to reset our project from clean state, we can always delete the entire node_modules and reinstall the libraries.
rm -rf node_modules/ && yarn cache clean && yarn install
Now trying to learn Java and trying out Maven, correct me if I'm wrong, we define the dependencies on pom.xml, which essentially the same as package.json on yarn/npm, and the downloaded dependencies will be stored on /target?
Is /target equals to node_modules and hence I can actually delete entire /target and restart the downloading process?