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

Missing sources.jar for several modules when building HBase

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 1.3.0, 1.0.3, 1.1.3, 0.98.16, 2.0.0
    • Fix Version/s: 1.2.0, 1.3.0, 1.0.3, 1.1.3, 0.98.17, 2.0.0
    • Component/s: pom
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Introduced by HBASE-14085. The problem is, for example, in hbase-common/pom.xml, we have

      pom.xml
      <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <configuration>
                  <excludeResources>true</excludeResources>
                  <includes>
                    <include>src/main/java</include>
                    <include>${project.build.outputDirectory}/META-INF</include>
                  </includes>
                </configuration>
              </plugin>
      

      But in fact, the path inside <include> tag is relative to source directories, not the project directory. So the maven-source-plugin always end with

      No sources in project. Archive not created.
      

        Attachments

        1. HBASE-14806.patch
          3 kB
          Duo Zhang

          Activity

            People

            • Assignee:
              Apache9 Duo Zhang
              Reporter:
              Apache9 Duo Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: