You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Peter De Maeyer (Jira)" <ji...@apache.org> on 2024/11/10 20:35:00 UTC

[jira] [Created] (MCLEAN-126) Use Path instead of File paradigm as much as possible

Peter De Maeyer created MCLEAN-126:
--------------------------------------

             Summary: Use Path instead of File paradigm as much as possible
                 Key: MCLEAN-126
                 URL: https://issues.apache.org/jira/browse/MCLEAN-126
             Project: Maven Clean Plugin
          Issue Type: Improvement
    Affects Versions: 3.4.0
            Reporter: Peter De Maeyer


The code currently uses a combination of old {{File}} API and old {{Path}}. This is suboptimal, as it requires conversions back and forth. It would be better if we consolidated on the {{Path}} API as much as possible.

Unfortunately, the Maven `@Parameter` injection only supports {{File}} fields, so we cannot replace it completely yet. Hopefully some day, Maven's `@Parameter` injection will also support {{Path}} fields.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)