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

[pom cleanup] Do a pass with dependency:analyze; remove unused and explicity list the dependencies we exploit

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-alpha-3, 2.0.0
    • pom
    • None
    • Reviewed
    • Hide
      Purged a bunch of dependencies included but unused. Added reference to dependencies we do use but did not list (transitively included). Purged all but junit from parent pom dependency set and did explicit include in modules instead; not all modules need mockito, etc. Still work to do: grey area around hadoop and its transitive includes need cleanup still to make the dependency:analyze runs clean. Also figure how to purge junit from parent dependency list.
      Show
      Purged a bunch of dependencies included but unused. Added reference to dependencies we do use but did not list (transitively included). Purged all but junit from parent pom dependency set and did explicit include in modules instead; not all modules need mockito, etc. Still work to do: grey area around hadoop and its transitive includes need cleanup still to make the dependency:analyze runs clean. Also figure how to purge junit from parent dependency list.

    Description

      Do a pass over our poms. They are sloppy including unused jars and not listing actually used dependencies. Undo 'required' dependencies like junit and mockito; not all modules need these anymore.

      This cleanup motivated by failures up on jenkins where a build step is not finding transitive includes; explicit mention is needed (See failures in HBASE-18674).

      Attachments

        1. HBASE-18723-pom-cleanup-Do-a-pass-with-dependency.addendum.patch
          10 kB
          Michael Stack
        2. HBASE-18723.master.005.patch
          4 kB
          Michael Stack
        3. HBASE-18723.master.004.patch
          9 kB
          Michael Stack
        4. HBASE-18723.master.003.patch
          49 kB
          Michael Stack
        5. HBASE-18723.master.002.patch
          49 kB
          Michael Stack
        6. HBASE-18723.master.001.patch
          48 kB
          Michael Stack

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            stack Michael Stack
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment