This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne.git
The following commit(s) were added to refs/heads/master by this push:
new 3c8f4f381 pom rules
3c8f4f381 is described below
commit 3c8f4f38181a6863201889b3c549f3154917f52f
Author: Andrus Adamchik <[email protected]>
AuthorDate: Sat May 9 16:33:50 2026 -0400
pom rules
---
CLAUDE.md | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/CLAUDE.md b/CLAUDE.md
index 35c71fe98..285651974 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -62,6 +62,11 @@ mvn test -Dtest=SomeTest -DcayenneTestConnection=h2
Test naming: `*Test.java` = unit tests (Surefire), `*IT.java` = integration
tests (Failsafe).
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()`).
+## `pom.xml` Style
+
+All POM plugins from submodules must be delcared in the parent module
`<pluginManagement>`. All plugin versions should be
+declared as properties in the root pom.xml
+
### Legacy Tests
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.