Skip to content

TEZ-4704: Upgrade restrict-imports.enforcer to 3.0.0 to fix warning duing maven build#476

Open
Aggarwal-Raghav wants to merge 1 commit intoapache:masterfrom
Aggarwal-Raghav:TEZ-4704
Open

TEZ-4704: Upgrade restrict-imports.enforcer to 3.0.0 to fix warning duing maven build#476
Aggarwal-Raghav wants to merge 1 commit intoapache:masterfrom
Aggarwal-Raghav:TEZ-4704

Conversation

@Aggarwal-Raghav
Copy link
Copy Markdown
Contributor

@Aggarwal-Raghav Aggarwal-Raghav commented Apr 10, 2026

Check TEZ-4704,

[INFO] --- enforcer:3.6.2:enforce (banned-illegal-imports) @ tez-api ---
[WARNING] ruleName restrictImports with implementation org.apache.maven.plugins.enforcer.RestrictImportsuses the deprecated Maven Enforcer Plugin API. This will not be supported in a future version of the plugin. Please contact the rule maintainer to upgrade the rule implementation to the current API.
[INFO] Rule 0: org.apache.maven.plugins.enforcer.RestrictImports passed 

After this PR:

[INFO] --- enforcer:3.6.2:enforce (banned-illegal-imports) @ tez-api ---
[INFO] Rule 0: org.apache.maven.plugins.enforcer.RestrictImports passed

From release notes, the plugin tags we are using have no breaking change in them.

@tez-yetus
Copy link
Copy Markdown

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 14s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+1 💚 mvninstall 4m 45s master passed
+1 💚 compile 1m 49s master passed
+1 💚 javadoc 1m 29s master passed
_ Patch Compile Tests _
+1 💚 mvninstall 3m 42s the patch passed
+1 💚 codespell 1m 35s No new issues.
+1 💚 compile 1m 46s the patch passed
+1 💚 javac 1m 46s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 javadoc 1m 28s the patch passed
_ Other Tests _
-1 ❌ unit 70m 42s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 0m 55s The patch does not generate ASF License warnings.
89m 52s
Reason Tests
Failed junit tests tez.dag.history.recovery.TestRecoveryService
Subsystem Report/Notes
Docker ClientAPI=1.54 ServerAPI=1.54 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-476/1/artifact/out/Dockerfile
GITHUB PR #476
Optional Tests dupname asflicense javac javadoc unit codespell detsecrets xmllint compile
uname Linux 9bf6c245f009 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-home/workspace/tez-multibranch_PR-476/src/.yetus/personality.sh
git revision master / e41e929
Default Java Ubuntu-21.0.10+7-Ubuntu-124.04
Test Results https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-476/1/testReport/
Max. process+thread count 1429 (vs. ulimit of 5500)
modules C: . U: .
Console output https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-476/1/console
versions git=2.43.0 maven=3.9.14 codespell=2.4.1
Powered by Apache Yetus 0.15.1 https://yetus.apache.org

This message was automatically generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants