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

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

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

Michael Osipov (Jira)

     [ https://issues.apache.org/jira/browse/MNG-6777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anatoly Zaretsky updated MNG-6777:
----------------------------------
    Component/s:     (was: Command Line)

> Remove duplicate resolveFile methods
> ------------------------------------
>
>                 Key: MNG-6777
>                 URL: https://issues.apache.org/jira/browse/MNG-6777
>             Project: Maven
>          Issue Type: Task
>          Components: Embedding
>    Affects Versions: 3.6.3
>            Reporter: Anatoly Zaretsky
>            Priority: Trivial
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)