You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slawekjaranowski (via GitHub)" <gi...@apache.org> on 2023/02/21 22:24:33 UTC

[GitHub] [maven-enforcer] slawekjaranowski commented on a diff in pull request #246: AdvancedDependencyConvergence rule

slawekjaranowski commented on code in PR #246:
URL: https://github.com/apache/maven-enforcer/pull/246#discussion_r1113629569


##########
enforcer-rules/src/site/apt/dependencyConvergence.apt.vm:
##########
@@ -157,3 +164,16 @@ and
         </excludes>
       </dependencyConvergence>
 +---------------------------------------------
+
+* Reporting Only Mode
+
+  By default, when convergence error is detected the build will fail.
+  If you want to have only reporting, without errors in the build, then <<<fail>>> property must be set to <<<false>>>.
+
++---------------------------------------------
+      <dependencyConvergence>
+        <fail>false</fail>

Review Comment:
   Each rule has already a parameter - `level` - you can set it with value `WARN` and should be what you need



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org