Skip to content

Commit

Permalink
Update dependencyConvergence.apt.vm
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo authored Jan 13, 2025
1 parent 46f61df commit a158659
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions enforcer-rules/src/site/apt/dependencyConvergence.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Dependency Convergence

Here is a concrete example.

This will cause a build to fail.
This will cause the rule to fail the build:

+-----------------------------------------------------------------------------------

Expand All @@ -46,7 +46,7 @@ Dependency Convergence
</dependencies>
+-----------------------------------------------------------------------------------

With this being logged during compilation
with this being logged during compilation:

+-----------------------------------------------------------------------------------
Dependency convergence error for org.slf4j:slf4j-api1.6.1 paths to dependency are:
Expand Down Expand Up @@ -119,8 +119,8 @@ and

* Timestamped Version

By default the non-unique versions are matched, which means the <<<X.Y-SNAPSHOT>>> instead of the timestamped versions.
If you want to use the unique versions of the dependencies, you can set its property to <<<true>>>.
By default, the non-unique versions are matched, which means the <<<X.Y-SNAPSHOT>>> instead of the timestamped versions.
If you want to use the unique versions of the dependencies, set the uniqueVersions property to <<<true>>>:

+---------------------------------------------
<dependencyConvergence>
Expand All @@ -145,7 +145,7 @@ and
[]

The format for artifacts is groupId[:artifactId][:version][:type][:scope][:classifier] where artifactId, version,
type, scope and classifier are optional. Wildcards may be used to replace an entire section or just parts of a
type, scope, and classifier are optional. Wildcards may replace an entire section or just parts of a
section. This rule uses the {{{./versionRanges.html}Enforcer version range syntax}} to define allowed versions.

+---------------------------------------------
Expand Down

0 comments on commit a158659

Please sign in to comment.