Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2709

Maven property skipShade should not skip ozonefs compilation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • None

    Description

      Currently, if -DskipShade is specified when running mvn, it will skip ozonefs module (hadoop-ozone-filesystem / Apache Hadoop Ozone FileSystem) compilation:

      hadoop-ozone/pom.xml
          <profile>
            <id>build-with-ozonefs</id>
            <activation>
              <property>
                <name>!skipShade</name>
              </property>
            </activation>
            <modules>
              <module>ozonefs</module>
              <module>ozonefs-lib-current</module>
              <module>ozonefs-lib-legacy</module>
            </modules>
          </profile>
      

      As result of this, when I make code change under ./hadoop-ozone/ozonefs/ then run mvn clean install -Pdist -DskipTests -e -Dmaven.javadoc.skip=true -DskipShade, the change won't be reflected in the dist. Property skipShade should not be expected to do this.

      We should compile ozonefs regardless of -DskipShade.

      Attachments

        Issue Links

          Activity

            People

              smeng Siyao Meng
              smeng Siyao Meng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m