This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-filtering.git


The following commit(s) were added to refs/heads/master by this push:
     new 5a48798  Give code blocks a real language instead of unknown
5a48798 is described below

commit 5a4879817e308e4be0b5a994fd8eb47abc3670a9
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Nov 1 15:20:44 2026 +0000

    Give code blocks a real language instead of unknown
---
 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 48cea03..a208bf8 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 );
 ```

Reply via email to