You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (Jira)" <ji...@apache.org> on 2025/01/19 15:59:00 UTC
[jira] [Assigned] (MCLEAN-126) Use Path instead of File paradigm as much as possible
[ https://issues.apache.org/jira/browse/MCLEAN-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sylwester Lachiewicz reassigned MCLEAN-126:
-------------------------------------------
Assignee: Sylwester Lachiewicz
> 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
> Assignee: Sylwester Lachiewicz
> Priority: Major
> Fix For: next-release-3.x
>
>
> 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)