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-war-plugin.git


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

commit 8d8a444c190e703f0ceb37bcec1c1aa32e1afddb
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Nov 1 15:16:33 2026 +0000

    Give code blocks a real language instead of unknown
---
 .../markdown/examples/adding-filtering-webresources.md.vm    | 12 ++++++------
 src/site/markdown/examples/file-name-mapping.md              |  6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/site/markdown/examples/adding-filtering-webresources.md.vm 
b/src/site/markdown/examples/adding-filtering-webresources.md.vm
index 06b3756..a49354c 100644
--- a/src/site/markdown/examples/adding-filtering-webresources.md.vm
+++ b/src/site/markdown/examples/adding-filtering-webresources.md.vm
@@ -129,7 +129,7 @@ A web resource
 
 To include all jpgs in the WAR we can add the following to our POM 
configuration from above:
 
-```unknown
+```xml
         ...
         <configuration>
           <webResources>
@@ -148,7 +148,7 @@ To include all jpgs in the WAR we can add the following to 
our POM configuration
 
 To exclude the `image2` directory from the WAR add this:
 
-```unknown
+```xml
         ...
         <configuration>
           <webResources>
@@ -169,7 +169,7 @@ Be careful when mixing includes and excludes, excludes will 
have a higher priori
 
 Having this configuration will exclude all jpgs from the WAR:
 
-```unknown
+```xml
         ...
         <configuration>
           <webResources>
@@ -192,7 +192,7 @@ Having this configuration will exclude all jpgs from the 
WAR:
 
 Here's another example of how to specify include and exclude patterns:
 
-```unknown
+```xml
         ...
         <configuration>
           <webResources>
@@ -250,7 +250,7 @@ Using our example above, we can also configure filters for 
our resources. We wil
 
 To prevent corrupting your binary files when filtering is enabled, you can 
configure a list of file extensions that will not be filtered.
 
-```unknown
+```xml
         ...
         <configuration>
           <!-- the default value is the filter list under build -->
@@ -338,7 +338,7 @@ and the content of `config.cfg` would be:
 
 By default web resources are copied to the root of the WAR, as shown in the 
previous example. To override the default destination directory, specify the 
target path.
 
-```unknown
+```xml
         ...
         <configuration>
           <webResources>
diff --git a/src/site/markdown/examples/file-name-mapping.md 
b/src/site/markdown/examples/file-name-mapping.md
index 95ca061..183e74a 100644
--- a/src/site/markdown/examples/file-name-mapping.md
+++ b/src/site/markdown/examples/file-name-mapping.md
@@ -29,7 +29,7 @@ under the License.
 
 It might be necessary to customize the file name of libraries and TLDs. By 
default, those resources are stored using the following pattern:
 
-```unknown
+```text
 @{artifactId}@-@{baseVersion}@@{dashClassifier?}@.@{extension}@
 ```
 
@@ -52,12 +52,12 @@ If two artifacts end up with the same file name, both are 
stored with their grou
 
 For instance, to store the libraries and TLDs without version numbers or 
classifiers, use the following pattern:
 
-```unknown
+```text
 @{artifactId}@.@{extension}@
 ```
 
 To store the libraries and TLDs without version numbers but with classifiers 
(if they exist), use the following pattern:
 
-```unknown
+```text
 @{artifactId}@@{dashClassifier?}@.@{extension}@
 ```

Reply via email to