Uh oh!
There was an error while loading. Please reload this page.
PHOENIX-6309 : Use maven enforcer plugin to ban imports from illegal packages (as per project guidelines) - #1082
PHOENIX-6309 : Use maven enforcer plugin to ban imports from illegal packages (as per project guidelines)#1082virajjasani wants to merge 1 commit into
Conversation
stoty
commented
Jan 11, 2021
💔 -1 overall
This message was automatically generated. |
yanxinyi
commented
Jan 11, 2021
LGTM +1 for the master branch. However, do we have a plan to do the same thing for the 4.x? I remember that we don't have enforcement for certain important. For example, we have |
Thanks @yanxinyi for the review.
@stoty has already created PHOENIX-6234 for replacing guava with thirdparty in 4.x. |
stoty
commented
Jan 11, 2021
On master, this is somewhat redundant, as dependency-check will fail the build in these cases. However, as dependency-check runs AFTER the tests, and the tests still fail more oftent than not, this may be useful if this runs before the tests, (and on 4.x.) The commons-logging and commons-lang stuff definitely applies to 4.x |
virajjasani
commented
Jan 11, 2021
Yes, it does catch this before running tests. |
stoty
commented
Jan 11, 2021
Does 4.x still have commons-lang ? That is probably a regression, and you may want to fix it in #1083 and add the rule. |
virajjasani
commented
Jan 11, 2021
4.x has many references to commons-lang. Let me fix them and update #1083 quickly. |
In that it probably not a regression, I just never got around to backporting that cleanup to 4.x I'll leave it to your discretion wheter you want to that for this ticket. |
virajjasani
commented
Jan 11, 2021
On master, commons-lang was upgraded as part of PHOENIX-4880 |
stoty
commented
Jan 11, 2021
Sounds good. (good to know it wasn't me who skipped the 4.x backport) |
virajjasani
commented
Jan 11, 2021
My bad, in fact we can use 1.1.0 instead. |
virajjasani
commented
Jan 11, 2021
While copying from other project, I somehow missed looking at latest versions. Let me update PR. |
virajjasani
commented
Jan 11, 2021
Attaching sample build failure: |
…packages (as per project guidelines)
stoty
commented
Jan 11, 2021
💔 -1 overall
This message was automatically generated. |
No description provided.