Skip to content

Commit 127a0bc

Browse files
authored
Make agent to use preinstalled Maven in offline mode
1 parent aba4787 commit 127a0bc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

AGENTS.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Contributor Guide
22

33
## Dev Environment Tips
4-
- Use `./mvnw compile` to quickly compile the project.
4+
- If project dependencies didn't change run all Maven commands with --offline flag to avoid internet usage
5+
- Use `mvn compile --offline` to quickly compile the project.
56

67
## Testing Instructions
7-
- Use `./mvnw verify -Dtestcontainers.enabled=false` command to execute all tests.
8+
- Use `mvn verify -Dtestcontainers.enabled=false --offline` command to execute all tests.
89
- The commit should pass all tests before you merge.
9-
- To verify changes in a single class, execute tests for this class with `./mvnw -Dtest="TestClassName" test -Dtestcontainers.enabled=false` command.
10+
- To verify changes in a single class, execute tests for this class with `mvn -Dtest="TestClassName" test -Dtestcontainers.enabled=false --offline` command.
1011
- Fix any test errors until the whole suite is green.

0 commit comments

Comments
 (0)