[Created] (MNG-6777) Remove duplicate resolveFile methods

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Created] (MNG-6777) Remove duplicate resolveFile methods

Michael Osipov (Jira)
Anatoly Zaretsky created MNG-6777:

             Summary: Remove duplicate resolveFile methods
                 Key: MNG-6777
                 URL: https://issues.apache.org/jira/browse/MNG-6777
             Project: Maven
          Issue Type: Task
          Components: Command Line, Embedding
    Affects Versions: 3.6.3
            Reporter: Anatoly Zaretsky

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.

This message was sent by Atlassian Jira