Skip to content

Commit 781ec7b

Browse files
committed
feat(mvn): add Maven filter module with Surefire/Failsafe XML enrichment
1 parent 6d2e5e5 commit 781ec7b

51 files changed

Lines changed: 6024 additions & 166 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/rules/search-strategy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ src/
4444
│ ├── js/ ← npm, pnpm, vitest, lint, tsc, next, prettier, playwright, prisma
4545
│ ├── python/ ← ruff, pytest, mypy, pip
4646
│ ├── go/ ← go, golangci-lint
47+
│ ├── java/ ← mvn/mvnw (test, compile, checkstyle, dependency:tree)
4748
│ ├── dotnet/ ← dotnet, binlog, trx, format_report
4849
│ ├── cloud/ ← aws, container (docker/kubectl), curl, wget, psql
4950
│ ├── system/ ← ls, tree, read, grep, find, wc, env, json, log, deps, summary, format, local_llm

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
116116

117117
## [Unreleased]
118118

119+
### Features
120+
121+
* **mvn:** add Maven (Java) filter module — test, compile, checkstyle:check, dependency:tree ([#1089](https://github.com/rtk-ai/rtk/pull/1089))
122+
* **mvn:** enrich `mvn test` / `verify` / `integration-test` output with structured failure details read from `target/surefire-reports/TEST-*.xml` and `target/failsafe-reports/*.xml`. Stack traces are segmented on `Caused by:` with framework frames collapsed; the root-cause segment is always preserved.
123+
* **mvn:** autodetect application package from `pom.xml` `<groupId>` (with `<parent>/<groupId>` fallback) for framework-frame classification.
124+
* **mvn:** red-flag heuristic — `no tests run` with no fresh XML reports emits a diagnostic pointing at surefire misconfiguration.
125+
119126
### Bug Fixes
120127

121128
* **git:** remove `-u` short alias from `--ultra-compact` to fix `git push -u` upstream tracking ([#1086](https://github.com/rtk-ai/rtk/issues/1086))

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ For the full architecture, component details, and module development patterns, s
7575

7676
Module responsibilities are documented in each folder's `README.md` and each file's `//!` doc header. Browse `src/cmds/*/` to discover available filters.
7777

78-
Supported ecosystems: git/gh/gt, cargo, go/golangci-lint, npm/pnpm/npx, ruff/pytest/pip/mypy, rspec/rubocop/rake, dotnet, playwright/vitest/jest, docker/kubectl/aws.
78+
Supported ecosystems: git/gh/gt, cargo, go/golangci-lint, npm/pnpm/npx, ruff/pytest/pip/mypy, rspec/rubocop/rake, dotnet, mvn/mvnw, playwright/vitest/jest, docker/kubectl/aws.
7979

8080
### Proxy Mode
8181

0 commit comments

Comments
 (0)