[
https://issues.apache.org/jira/browse/WAGON-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed WAGON-110.
--------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period
of time. If you think this issue still applies, retest your problem with the
most recent version of Maven and the affected component, reopen and post your
results.
> Support directory operations sanely.
> ------------------------------------
>
> Key: WAGON-110
> URL: https://issues.apache.org/jira/browse/WAGON-110
> Project: Maven Wagon
> Issue Type: Improvement
> Components: wagon-provider-api
> Reporter: Luke Daley
>
> The {{Wagon}} provider API is confused for directory operations. To simplify,
> I propose a new interface be created (e.g. {{DirectoryWagon}}) that wagons
> can implement...
> {code}
> bool isDirectory(String path) throws TransferFailedException,
> ResourceDoesNotExistException, AuthorizationException;
> String[] getFileList(String path) throws TransferFailedException,
> ResourceDoesNotExistException, AuthorizationException;
> void mkdir(String path) throws TransferFailedException,
> ResourceDoesNotExistException, AuthorizationException;
> void mkdirs(String path) throw throws TransferFailedException,
> ResourceDoesNotExistException, AuthorizationException;
> {code}
> This would also require removing all directory related methods from the
> {{Wagon}} interface. The {{AbstractWagon}} implementation could
> _transparently_ use the primitives from the {{DirectoryWagon}} interface (if
> implemented) to handle directory operations.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)