Commands
Testing
mvn clean verifyWith multimodule project the testing process will be stopped once a module fails. To avoid this there is the "fail at end" property:
mvn clean verify -faeTests on modules depending on the failed module won't run, but all the other modules will have their tests executed.
Checking for Newer Versions
To check if there are newer versions for the dependencies use the following command:
mvn versions:display-dependency-updates versions:display-plugin-updatesGenerating Site
mvn clean sitePurging Dependencies
Sometimes you need to delete and download again all the dependencies. This may be caused by the use of snapshots.
This command will do so:
mvn dependency:purge-local-repositoryTo remove only snapshots:
mvn dependency:purge-local-repository -DsnapshotsOnly=trueLast updated
Was this helpful?