This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch MENFORCER-335 in repository https://gitbox.apache.org/repos/asf/maven-enforcer.git
commit a158659cb43acb4cae0df1808032b75a096c273f Author: Elliotte Rusty Harold <elh...@users.noreply.github.com> AuthorDate: Mon Jan 13 19:15:10 2025 +0000 Update dependencyConvergence.apt.vm --- enforcer-rules/src/site/apt/dependencyConvergence.apt.vm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/enforcer-rules/src/site/apt/dependencyConvergence.apt.vm b/enforcer-rules/src/site/apt/dependencyConvergence.apt.vm index 295bb2e..be87cd1 100644 --- a/enforcer-rules/src/site/apt/dependencyConvergence.apt.vm +++ b/enforcer-rules/src/site/apt/dependencyConvergence.apt.vm @@ -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: +----------------------------------------------------------------------------------- @@ -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: @@ -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> @@ -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. +---------------------------------------------