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-dependency-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 6ea7f2ff Give code blocks a real language instead of unknown
6ea7f2ff is described below
commit 6ea7f2ffc669699acf322f2d4b836c389ccc9f8d
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Nov 1 15:18:25 2026 +0000
Give code blocks a real language instead of unknown
---
src/site/markdown/examples/filtering-the-dependency-tree.md | 4 ++--
src/site/markdown/examples/managing-dependencies.md.vm | 2 +-
src/site/markdown/examples/tree-mojo.md | 8 ++++----
src/site/markdown/examples/unpacking-filemapper.md.vm | 6 +++---
src/site/markdown/usage.md.vm | 6 +++---
5 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/site/markdown/examples/filtering-the-dependency-tree.md
b/src/site/markdown/examples/filtering-the-dependency-tree.md
index 91b14441..68e4bc41 100644
--- a/src/site/markdown/examples/filtering-the-dependency-tree.md
+++ b/src/site/markdown/examples/filtering-the-dependency-tree.md
@@ -34,7 +34,7 @@ mvn dependency:tree -Dincludes=velocity:velocity
Which outputs:
-```unknown
+```text
[INFO] [dependency:tree]
[INFO]
org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:2.0-alpha-5-SNAPSHOT
[INFO] \- org.apache.maven.doxia:doxia-site-renderer:jar:1.0-alpha-8:compile
@@ -48,7 +48,7 @@ Thus we can see that Velocity is being brought in by Plexus
Velocity, which in t
The syntax for filter patterns is as follows:
-```unknown
+```text
[groupId]:[artifactId]:[type]:[version]
```
diff --git a/src/site/markdown/examples/managing-dependencies.md.vm
b/src/site/markdown/examples/managing-dependencies.md.vm
index 831ea085..9ee39997 100644
--- a/src/site/markdown/examples/managing-dependencies.md.vm
+++ b/src/site/markdown/examples/managing-dependencies.md.vm
@@ -120,7 +120,7 @@ Some POMs declare dependencies using Maven property
references for the `groupId`
When `dependency:add` detects that a dependency with the same coordinates
already exists in the resolved (effective) model but cannot be found in the raw
XML, it means the dependency is declared using property interpolation. In this
case, the goal **fails** with an error message explaining that the dependency
cannot be safely added or updated automatically:
-```unknown
+```text
[ERROR] Dependency com.example:lib already exists in the POM (using property
references).
Cannot safely add or update automatically. Please edit the POM manually.
```
diff --git a/src/site/markdown/examples/tree-mojo.md
b/src/site/markdown/examples/tree-mojo.md
index a838ffc7..73777f70 100644
--- a/src/site/markdown/examples/tree-mojo.md
+++ b/src/site/markdown/examples/tree-mojo.md
@@ -69,7 +69,7 @@ mvn dependency:tree -DoutputType=<format>
-DoutputFile=<filename>
**Example**:
-```unknown
+```json
{
"groupId": "org.apache.maven.extensions",
"artifactId": "maven-build-cache-extension",
@@ -143,7 +143,7 @@ mvn dependency:tree -DoutputType=json
-DoutputFile=dependency-tree.json
**Example**:
-```unknown
+```text
digraph
"org.apache.maven.extensions:maven-build-cache-extension:jar:1.2.1-SNAPSHOT:" {
"org.apache.maven.extensions:maven-build-cache-extension:jar:1.2.1-SNAPSHOT:"
-> "net.openhft:zero-allocation-hashing:jar:0.27ea0:compile";
"org.apache.maven.extensions:maven-build-cache-extension:jar:1.2.1-SNAPSHOT:"
-> "org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:3.5.3:compile";
@@ -162,7 +162,7 @@ mvn dependency:tree -DoutputType=dot
-DoutputFile=dependency-tree.dot
**Visualization**: Convert the DOT file to an image using Graphviz:
-```unknown
+```bash
dot -Tpng dependency-tree.dot -o dependency-tree.png
```
@@ -219,7 +219,7 @@ mvn dependency:tree -DoutputType=graphml
-DoutputFile=dependency-tree.graphml
**Example**:
-```unknown
+```text
1474640235
org.apache.maven.extensions:maven-build-cache-extension:jar:1.2.1-SNAPSHOT:
788877168 net.openhft:zero-allocation-hashing:jar:0.27ea0:compile
1662807313 org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:3.5.3:compile
diff --git a/src/site/markdown/examples/unpacking-filemapper.md.vm
b/src/site/markdown/examples/unpacking-filemapper.md.vm
index a92816a5..8f8d890e 100644
--- a/src/site/markdown/examples/unpacking-filemapper.md.vm
+++ b/src/site/markdown/examples/unpacking-filemapper.md.vm
@@ -75,7 +75,7 @@ Any Plexus File Mapper (i. e. implementation of the interface
`org.codehaus.plex
The Regular Expression Mapper is useful to modify or cut away prefixes or
suffixes, or to rewrite file extensions:
-```unknown
+```xml
[...]
<org.codehaus.plexus.components.io.filemappers.RegExpFileMapper>
<pattern>[...]</pattern>
@@ -86,7 +86,7 @@ The Regular Expression Mapper is useful to modify or cut away
prefixes or suffix
The Prefix File Mapper is useful to add prefixes:
-```unknown
+```xml
[...]
<org.codehaus.plexus.components.io.filemappers.PrefixFileMapper>
<prefix>[...]</prefix>
@@ -96,7 +96,7 @@ The Prefix File Mapper is useful to add prefixes:
The Flatten File Mapper removes the path completey, effectively putting all
files in the same folder:
-```unknown
+```xml
[...]
<org.codehaus.plexus.components.io.filemappers.FlattenFileMapper/>
[...]
diff --git a/src/site/markdown/usage.md.vm b/src/site/markdown/usage.md.vm
index 8f648697..4a91f049 100644
--- a/src/site/markdown/usage.md.vm
+++ b/src/site/markdown/usage.md.vm
@@ -438,7 +438,7 @@ mvn dependency:analyze
Sample output:
-```unknown
+```text
[INFO] [dependency:analyze]
[WARNING] Used undeclared dependencies found: (in org.example:my-app)
[WARNING] classworlds:classworlds:jar:1.1-alpha-2:compile
@@ -467,7 +467,7 @@ mvn dependency:analyze-dep-mgt
Sample output:
-```unknown
+```text
[INFO] Found Resolved Dependency / DependencyManagement mismatches:
[INFO] Dependency: commons-lang:commons-lang:jar
[INFO] DepMgt : 1.0
@@ -720,7 +720,7 @@ mvn dependency:analyze-exclusions
Sample output:
-```unknown
+```text
[WARNING] The following dependencies defines unnecessary excludes
[WARNING] org.apache.maven:maven-artifact:
[WARNING] - javax.annotation:javax.annotation-api