[
https://issues.apache.org/jira/browse/PHOENIX-6195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17216658#comment-17216658
]
Viraj Jasani commented on PHOENIX-6195:
---------------------------------------
[~stoty] Could you please take a look? Build must pass with this minor change.
I tested locally. As of now, we are again seeing build failures in precommit
jobs.
Thanks
> Should not import com.google.guava directly
> -------------------------------------------
>
> Key: PHOENIX-6195
> URL: https://issues.apache.org/jira/browse/PHOENIX-6195
> Project: Phoenix
> Issue Type: Bug
> Reporter: Viraj Jasani
> Assignee: Viraj Jasani
> Priority: Major
>
> phoenix-core is broken due to direct imports of com.google.guava
> (PHOENIX-6181) instead of importing phoenix thirdparty:
> {code:java}
> [WARNING] Used undeclared dependencies found:
> [WARNING] com.google.guava:guava:jar:11.0.2:compile
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Phoenix Hbase 2.3.0 compatibility .................. SUCCESS [ 28.384
> s]
> [INFO] Phoenix Hbase 2.2.1 compatibility .................. SUCCESS [ 2.402
> s]
> [INFO] Phoenix Hbase 2.1.6 compatibility .................. SUCCESS [ 2.816
> s]
> [INFO] Apache Phoenix 5.1.0-SNAPSHOT ...................... SUCCESS [ 1.407
> s]
> [INFO] Phoenix Core ....................................... FAILURE [ 43.982
> s]
> [INFO] Phoenix - Pherf .................................... SKIPPED
> [INFO] Phoenix Client ..................................... SKIPPED
> [INFO] Phoenix Server ..................................... SKIPPED
> [INFO] Phoenix - Tracing Web Application .................. SKIPPED
> [INFO] Phoenix Assembly ................................... SKIPPED
> [INFO] phoenix-tools 5.1.0-SNAPSHOT ....................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 01:19 min
> [INFO] Finished at: 2020-10-19T16:54:06+05:30
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-dependency-plugin:3.1.1:analyze-only
> (enforce-dependencies) on project phoenix-core: Dependency problems found ->
> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :phoenix-core
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)