Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6777

Remove duplicate resolveFile methods

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Trivial
    • Resolution: Done
    • Affects Version/s: 3.6.3
    • Fix Version/s: 3.6.3
    • Component/s: Embedding
    • Labels:
      None

      Description

      Both org.apache.maven.cli.MavenCli and org.apache.maven.cli.configuration.SettingsXmlConfigurationProcessor contain identical package-private static methods called resolveFile - they can be replaced with the new public class org.apache.maven.cli.ResolveFile with the single public static method resolveFile. Also it would be more appropriate to rename workingDirectory parameter to baseDirectory.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                khmarbaise Karl Heinz Marbaise
                Reporter:
                anatoly.zaretsky Anatoly Zaretsky
              • 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 - 20m
                  20m