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

Make hbase assembly 'attach' to the project

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0, 2.0.0
    • None
    • None

    Description

      Currently for hbase assembly, we set 'attach' to 'false':

      hbase-assembly/pom.xml:

      <!--We do not want assembly attached; run on command-line explicitly
      -               if you want to do an assembly-->
      -          <attach>false</attach>
      

      The result is that the hbase assembly tarball will not be deployed via 'mvn install' or 'maven deploy'

      There are Apache projects that directly uses the hbase assembly tarball in their build process. For example, Slider HBase package and Ambari 2.0 Metrics.

      Here is the link the maven assembly plug info on the 'attach':
      https://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#attach

      attach:
      
      Controls whether the assembly plugin tries to attach the resulting assembly to the project.
      Type: boolean
      Since: 2.2-beta-1
      Required: No
      User Property: assembly.attach
      Default: true
      

      The assembly will only be built if 'assembly:single' is specified, and then deployed in 'maven install' or 'maven deploy'

      Attachments

        1. HBASE-13598-master.patch
          2 kB
          Jerry He
        2. doc-addendum.patch
          1 kB
          Jerry He

        Activity

          People

            jinghe Jerry He
            jinghe Jerry He
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: