Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-25890

[branch-1] add -U for maven build to force a check for updated releases and snapshots on remote repositories

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 1.7.0, 1.4.14
    • build
    • None
    • Hide
      To fix this, I defined two profiles for jdk7 & jdk8. The latter one includes hbase-assembly, the others not. So we could avoid when building with jdk7 will include hbase-thrift which can be built by jdk8.

      Therefore, if any client requires hbase-thrift module, should download source codes and build it with jdk8.
      Show
      To fix this, I defined two profiles for jdk7 & jdk8. The latter one includes hbase-assembly, the others not. So we could avoid when building with jdk7 will include hbase-thrift which can be built by jdk8. Therefore, if any client requires hbase-thrift module, should download source codes and build it with jdk8.

    Description

      [ERROR] Failed to execute goal on project hbase-assembly: Could not resolve dependencies for project org.apache.hbase:hbase-assembly:pom:1.7.0: Could not find artifact org.apache.hbase:hbase-thrift:jar:1.7.0 in apache release (https://repository.apache.org/content/repositories/releases/) -> [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/DependencyResolutionException
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :hbase-assembly
      
      [ERROR] Failed to execute goal on project hbase-assembly: Could not resolve dependencies for project org.apache.hbase:hbase-assembly:pom:1.7.0: Failure to find org.apache.hbase:hbase-thrift:jar:1.7.0 in https://repository.apache.org/content/repositories/releases/ was cached in the local repository, resolution will not be reattempted until the update interval of apache release has elapsed or updates are forced -> [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/DependencyResolutionException
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :hbase-assembly
      

      Attachments

        Activity

          People

            reidchan Reid Chan
            reidchan Reid Chan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: