Skip to content

Feature Request: Add Support for Java/Kotlin, Spring Boot, and Maven Environment Workflows #147

Closed

Description

@alkaphreak

Hi! Love what rtk does for CLI efficiency and token savings in AI-assisted development. As more teams adopt AI coding agents for Java and Kotlin (especially with Spring Boot and Maven), it would be incredibly valuable to extend rtk’s optimization capabilities to common workflows in these ecosystems.

Currently, rtk supports tools like cargo, npm, docker, and git, but Java/Kotlin developers using mvn, spring-boot:run, or environment-heavy setups (e.g., application.properties, profile-specific configs) don’t benefit as much.

Suggested Enhancements:

Maven Command Optimization
    Support for rtk mvn clean install with condensed output (e.g., hide repetitive INFO logs, summarize test results).
    Filter noisy Maven logging while preserving critical errors/warnings.

Spring Boot Dev Experience
    Smart parsing of Spring Boot startup logs:
        Highlight key info (active profiles, port, endpoints) while collapsing bean creation logs.
        Detect and summarize common issues (e.g., Port already in use, NoSuchBeanDefinitionException).

Environment & Configuration Awareness
    Add rtk env or rtk print-env to safely display filtered environment variables (with secrets redacted).
    Support for .env files and Spring application-{profile}.yml previews with token-efficient summaries.

Integration with IDE/AI Agents
    Auto-detect pom.xml or build.gradle.kts and suggest relevant rtk commands.
    Compact output for mvn dependency:tree (similar to rtk deps for Rust/Node).

Test Output Filtering
    For mvn test or ./gradlew test: show only failed/skipped tests (like rtk test cargo does).

This would make rtk a truly universal tool for AI-assisted development across JVM and non-JVM projects.

Thanks for considering!
— A fan of efficient coding 🙌

Activity

  1. art-shen commented on Feb 16, 2026

    @art-shen

    Yes, please! For gradle it would be so huge

  2. pszymkowiak commented on Feb 17, 2026

    @pszymkowiak
    Collaborator

    Thanks for the detailed request! JVM support makes sense as a future addition.

    The most impactful starting points would be:

    • rtk mvn test / rtk gradle test — show failures only (same pattern as rtk cargo test, rtk pytest, rtk go test)
    • rtk mvn build / rtk gradle build — errors and warnings only, strip INFO noise

    The Spring Boot log parsing and env/config features are interesting but lower priority — they're more specialized.

    PRs welcome — start with mvn test filtering as a first step. See src/cargo_cmd.rs or src/pytest_cmd.rs for the test filtering pattern to follow.

  3. art-shen commented on Feb 18, 2026

    @art-shen

    I think Gradle is currently even more common in JVM / Android / KMP projects, comparing to maven.

    E.g.,:

    TOP UNHANDLED COMMANDS -- open an issue?
    ----------------------------------------------------
    ./gradlew test        81    ./gradlew test --tests "..
    ./gradlew build       75    ./gradlew build
    ./gradlew assemble    44    ./gradlew assemble
    
  4. alkaphreak commented on Feb 18, 2026

    @alkaphreak
    Author

    As a senior Java/Kotlin consultant i used Gradle only one time, every other time it was Maven.

    And for the framework part, almost exclusively Spring / Spring Boot.

  5. yonatankarp commented on Feb 21, 2026

    @yonatankarp

    As a JVM developer in over 10 years I used Maven only once and still regretting it - I would love to have Gradle support ❤️

  6. pszymkowiak commented on Mar 16, 2026

    @pszymkowiak
    Collaborator

    Fixed in v0.30.0 — TOML filters exist for gradle, mvn-build, spring-boot. Tested locally: rtk mvn clean install correctly strips plugin headers and keeps build results.

  7. alkaphreak commented on Mar 16, 2026

    @alkaphreak
    Author

    Awesome. I will try it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3-nice-to-haveAméliorations non urgenteseffort-largePlusieurs jours, nouveau moduleenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions