Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-506

Enhance maven_reorder_module_process to handle modules where directory name is different than the artifactId

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • Precommit
    • None

    Description

      The Hive source looks like this:

      hive
      |-common
      \-ql
      

      The module hierarchy is this:

      hive
      |-hive-common
      \-hive-exec
      

      As a result of this differences, the maven_reorder_module_process unable to identify these modules, and does not reorder them.

      Also the current code expects that every artifact_id is different which might be, or might not be a problem.

      It would be much cleaner if we check the actual folder names instead which we can get by the following command:

      mvn -q --also-make exec:exec -Dexec.executable=pwd
      

      busbey, sekikn: Do you think it would be good to include this in the Yetus head, or should I keep this change in Hive?

      Attachments

        1. YETUS-506.00.patch
          2 kB
          Peter Vary
        2. YETUS-506.01.patch
          2 kB
          Peter Vary
        3. YETUS-506.02.patch
          2 kB
          Peter Vary
        4. YETUS-506.03.patch
          3 kB
          Peter Vary

        Activity

          People

            pvary Peter Vary
            pvary Peter Vary
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: