From 9f39dab292db231ae62bee2ac97f2cfbcb04dd02 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Wed, 19 Aug 2026 22:06:13 +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 fdfcbd3..fb250e4 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-resources - 1.3.1 ``` @@ -38,6 +37,8 @@ InputStream in = resourceManager.getResourceAsInputStream( "checkstyle.xml" ); File file = resourceManager.getResourceAsFile( "checkstyle.xml" ); ``` +Check the badge above for the current version. + `getResourceAsFile` will materialise a temporary file when the resource is not already one, so it works for classpath and URL resources too.