This is an automated email from the ASF dual-hosted git repository.

gitgabrio pushed a commit to branch incubator-kie-issues#2261
in repository https://gitbox.apache.org/repos/asf/incubator-kie-drools.git


The following commit(s) were added to refs/heads/incubator-kie-issues#2261 by 
this push:
     new 3e8ea4d49a [incubator-kie-issues#2261] Conditionally skip 
no-managed-deps enforcer
3e8ea4d49a is described below

commit 3e8ea4d49ab4f7475ce819ffb21835edd3fba975
Author: Gabriele-Cardosi <[email protected]>
AuthorDate: Fri Mar 13 17:29:00 2026 +0100

    [incubator-kie-issues#2261] Conditionally skip no-managed-deps enforcer
---
 kie-parent/pom.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/kie-parent/pom.xml b/kie-parent/pom.xml
index 48dfa17d4e..ccae1a6606 100644
--- a/kie-parent/pom.xml
+++ b/kie-parent/pom.xml
@@ -315,6 +315,8 @@
     <!-- enforcer -->
     <enforcer.failOnDuplicatedClasses>true</enforcer.failOnDuplicatedClasses>
     <enforcer.failOnBannedDependencies>true</enforcer.failOnBannedDependencies>
+    <!-- set to "none" to disable the no-managed-deps rule -->
+    <enforcer.no-managed-deps.phase>initialize</enforcer.no-managed-deps.phase>
     <illegaltransitivereportonly>false</illegaltransitivereportonly>
     <!-- Set to "true" on every project that has no violations. -->
     <spotbugs.failOnViolation>false</spotbugs.failOnViolation>
@@ -2248,7 +2250,7 @@
               <goals>
                 <goal>enforce</goal>
               </goals>
-              <phase>initialize</phase>
+              <phase>${enforcer.no-managed-deps.phase}</phase>
               <configuration>
                 <rules>
                   <requireManagedDeps 
implementation="org.commonjava.maven.enforcer.rule.EnforceManagedDepsRule">


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to