This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch maven-filtering-4.x in repository https://gitbox.apache.org/repos/asf/maven-filtering.git
commit 150e1bbf7b4cd3c819140714dc3f6c153b8980f2 Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Sun Nov 1 15:20:44 2026 +0000 Give code blocks a real language instead of unknown (cherry picked from commit 5a4879817e308e4be0b5a994fd8eb47abc3670a9) --- src/site/markdown/usage.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/site/markdown/usage.md b/src/site/markdown/usage.md index 14e58fe..c8b069e 100644 --- a/src/site/markdown/usage.md +++ b/src/site/markdown/usage.md @@ -30,14 +30,14 @@ under the License. Lookup the component in your Mojo: -```unknown +```java @Required private MavenResourcesFiltering mavenResourcesFiltering; ``` Apply filtering on your `List` of resources, see [Introduction](./index.html) for the default `FilterWrappers` that are used. -```unknown +```java MavenResourcesExecution mavenResourcesExecution = new MavenResourcesExecution ( resources, outputDirectory, mavenProject, encoding, fileFilters, @@ -73,7 +73,7 @@ You must use the other methods from the `MavenResourcesFiltering` component and There is a helper method to simplify this. Here's how you would use it to do what we did above: -```unknown +```java mavenResourcesExecution.addFilerWrapper( new MavenProjectValueSource( mavenProject, true ), "\\@", "(.+?)\\@", "@", "@" ); @@ -83,7 +83,7 @@ There is a helper method to simplify this. Here's how you would use it to do wha Now it's time to filter the resources: -```unknown +```java // Apply filtering on your resources mavenResourcesFiltering.filterResources( mavenResourcesExecution ); ```
