Engineering
mvnf avatar

mvnf

Run repeatable Maven tests in RDF4J with module-specific workflows, automatic environment refreshing, and actionable failure reporting.

Introduction

The mvnf skill is a specialized automation tool designed for Eclipse RDF4J developers to streamline the testing lifecycle within a complex multi-module Maven project. It enforces a consistent and reliable testing protocol by abstracting away the boilerplate commands required to maintain a clean local environment. By automating the synchronization of the local .m2_repo with a quick-install phase, it ensures that tests are run against the most current build artifacts, significantly reducing 'it works on my machine' inconsistencies.

  • Executes optimized Maven lifecycle commands for specific modules, test classes, or individual test methods.
  • Automatically performs a preparatory -Pquick clean install to refresh dependencies before execution.
  • Provides immediate, actionable pointers to Surefire and Failsafe report files upon test failure, enabling rapid debugging.
  • Supports both unit tests and integration tests via standard selectors and specific flags.
  • Includes flexible options for force-targeting specific modules in multi-module builds and toggling offline mode to handle environment-specific network constraints.

This tool is intended for RDF4J contributors and maintainers performing iterative code changes. It is particularly useful when troubleshooting regressions, validating bug fixes, or ensuring the integrity of specific components like SAIL or query parsers. Users should invoke this skill whenever they need to execute full test suites for a submodule or isolate a single failing test case. Input typically consists of a module path or a test class name; the output is the execution status of the Maven goal, with clear navigation to the generated log and XML reports. It requires an environment with Maven and Java installed and is designed to operate within the root directory of the RDF4J source tree.

Repository Stats

Stars
402
Forks
183
Open Issues
384
Language
Java
Default Branch
main
Sync Status
Idle
Last Synced
May 1, 2026, 09:47 AM
View on GitHub
mvnf | Skills Hub