virajjasani commented on pull request #1082:
URL: https://github.com/apache/phoenix/pull/1082#issuecomment-757674069
Attaching sample build failure:
```
[WARNING] Rule 2: de.skuzzle.enforcer.restrictimports.rule.RestrictImports
failed with message:
Banned imports detected in TEST code:
Reason: Use commons lang 3
in file: org/apache/phoenix/end2end/AlterTableWithViewsIT.java
org.apache.commons.lang.StringUtils (Line: 41, Matched by:
org.apache.commons.lang.**)
Analysis took 0 seconds
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Phoenix 5.1.0-SNAPSHOT ...................... SUCCESS [ 1.701
s]
[INFO] Phoenix Hbase 2.4.0 compatibility .................. SUCCESS [ 3.718
s]
[INFO] Phoenix Hbase 2.3.0 compatibility .................. SUCCESS [ 0.946
s]
[INFO] Phoenix Hbase 2.2.1 compatibility .................. SUCCESS [ 0.893
s]
[INFO] Phoenix Hbase 2.1.6 compatibility .................. SUCCESS [ 0.620
s]
[INFO] Phoenix Core ....................................... FAILURE [ 3.595
s]
[INFO] Phoenix - Pherf .................................... SKIPPED
[INFO] Phoenix Client Parent .............................. SKIPPED
[INFO] Phoenix Client ..................................... SKIPPED
[INFO] Phoenix Server ..................................... SKIPPED
[INFO] Phoenix - Tracing Web Application .................. SKIPPED
[INFO] Phoenix Assembly ................................... SKIPPED
[INFO] phoenix-tools ...................................... SKIPPED
[INFO] Phoenix Client Embedded 5.1.0-SNAPSHOT ............. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12.127 s
[INFO] Finished at: 2021-01-11T12:57:06+05:30
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce
(banned-illegal-imports) on project phoenix-core: Some Enforcer rules have
failed. Look above for specific messages explaining why the rule failed. ->
[Help 1]
[ERROR]
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]