Skip to content

Commit 3c8f4f3

Browse files
committed
pom rules
1 parent 812132b commit 3c8f4f3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ mvn test -Dtest=SomeTest -DcayenneTestConnection=h2
6262
Test naming: `*Test.java` = unit tests (Surefire), `*IT.java` = integration tests (Failsafe).
6363
All new tests must use JUnit 5. Test classes and methods must be `public`. Method names must not use the `test` prefix (e.g. `someFeature()` not `testSomeFeature()`).
6464

65+
## `pom.xml` Style
66+
67+
All POM plugins from submodules must be delcared in the parent module `<pluginManagement>`. All plugin versions should be
68+
declared as properties in the root pom.xml
69+
6570
### Legacy Tests
6671

6772
JUnit 4 tests are still present but are considered legacy (run via `junit-vintage-engine`). They are being migrated to JUnit 5. Mockito is used for mocking and is also considered legacy and should be avoided in the new tests.

0 commit comments

Comments
 (0)