From 2f6950988d2ee62f6890232878c9e254e4edbca5 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Wed, 19 Aug 2026 22:05:28 +0200 Subject: [PATCH] Stop pinning a version in the README snippet --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3aafac1..7255698 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,6 @@ Maintained, quietly. The API is small and settled; expect dependency updates rat org.codehaus.plexus plexus-interactivity-api - 1.5.1 ``` @@ -38,6 +37,8 @@ String scope = prompter.prompt( "Scope", List.of( "compile", "test" ), "compile" String secret = prompter.promptForPassword( "Password" ); ``` +Check the badge above for the current version. + A plugin that prompts should check `MavenSession.getRequest().isInteractiveMode()` first, so it does not hang a batch-mode build.