- If project dependencies didn't change run all Maven commands with --offline flag to avoid internet usage.
- Use
mvn compile --offlineto quickly compile the project.
- Use
mvn verify -Dtestcontainers.enabled=false --offlinecommand to execute all tests. - The commit should pass all tests before you merge.
- To verify changes in a single class, execute tests for this class with
mvn -Dtest="TestClassName" test -Dtestcontainers.enabled=false --offlinecommand. - Fix any test errors until the whole suite is green.