Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18196

Remove replace-guava from replacer plugin

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      While running the build, realized that all replacer plugin executions run only after "banned-illegal-imports" enforcer plugin.

      For instance,

      [INFO] --- maven-enforcer-plugin:3.0.0:enforce (banned-illegal-imports) @ hadoop-cloud-storage ---
      [INFO] 
      [INFO] --- replacer:1.5.3:replace (replace-generated-sources) @ hadoop-cloud-storage ---
      [INFO] Skipping
      [INFO] 
      [INFO] --- replacer:1.5.3:replace (replace-sources) @ hadoop-cloud-storage ---
      [INFO] Skipping
      [INFO] 
      [INFO] --- replacer:1.5.3:replace (replace-guava) @ hadoop-cloud-storage ---
      [INFO] Replacement run on 0 file.
      [INFO]  

      Hence, if our source code uses com.google.common, banned-illegal-imports will cause the build failure and replacer plugin would not even get executed.

      We should remove it as it is only redundant execution step.

      Attachments

        Issue Links

          Activity

            People

              vjasani Viraj Jasani
              vjasani Viraj Jasani
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1h
                  1h