You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2020/10/19 13:32:00 UTC

[jira] [Resolved] (PHOENIX-6195) Should not import com.google.guava directly

     [ https://issues.apache.org/jira/browse/PHOENIX-6195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Istvan Toth resolved PHOENIX-6195.
----------------------------------
    Fix Version/s: 5.1.0
       Resolution: Fixed

Committed to master.

Thanks for the fix [~vjasani].

> 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
>             Fix For: 5.1.0
>
>
> 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)