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-mapping.git
The following commit(s) were added to refs/heads/master by this push:
new 031b7e8 Give code blocks a real language instead of unknown
031b7e8 is described below
commit 031b7e8f345a09b6fd6cc78784ab80b9de96089c
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Nov 1 15:19:53 2026 +0000
Give code blocks a real language instead of unknown
---
src/site/markdown/index.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index 2b8e734..e031d70 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -29,7 +29,7 @@ This class has a single method, `evaluateFileNameMapping`,
that takes an express
Here is a bit of code from the WAR Plugin showing how you can use it:
-```unknown
+```java
protected String getFileName( Artifact artifact )
{
if ( getOutputFileNameMapping() != null )
@@ -64,7 +64,7 @@ This is an implementation of the `ValueSource` interface, and
can be used for in
You can invoke it like this:
-```unknown
+```java
Interpolator interpolator = StringSearchInterpolator());
interpolator.addValueSource( new DashClassifierValueSource(
artifact.getClassifier() ) );
```