Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6195

Should not import com.google.guava directly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.1.0
    • None
    • None

    Description

      phoenix-core is broken due to direct imports of com.google.guava (PHOENIX-6181) instead of importing phoenix thirdparty:

      [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
      

      Attachments

        Issue Links

          Activity

            People

              vjasani Viraj Jasani
              vjasani Viraj Jasani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: