[
https://issues.apache.org/jira/browse/WAGON-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Elliotte Rusty Harold updated WAGON-643:
----------------------------------------
Description:
E.g. toRelative
Most (all) of this old class functionality is in the JDK these days. Some of
these methods are being invoked from places in other plugins that have little
to nothing to do with wagon. E.g. PathUtil.toRelative is used heavily in
AbstractJavadocMojo, a class that otherwise doesn't use wagon.
Deprecating and replacing these various utility methods should allow us to
decouple a lot of code from wagon, and maybe completely remove some
dependencies.
Also worth noting that the hacky string parsing in a lot of these methods is
likely less reliable than the more considered versions of this functionality in
the JDK.
was:
E.g. toRelative
Most (all) of this old class functionality is in the JDK these days. Some of
these methods are being invoked from places in other plugins that have little
to nothing to do with wagon. E.g. PathUtil.toRelative is used heavily in
AbstractJavadocMojo, a class that otherwise doesn't use wagon.
Deprecating and replacing these various utility methods should allow us to
decouple a lot of code from wagon, and maybe completely remove some
dependencies.
> Deprecate most of org.apache.maven.wagon.PathUtils
> --------------------------------------------------
>
> Key: WAGON-643
> URL: https://issues.apache.org/jira/browse/WAGON-643
> Project: Maven Wagon
> Issue Type: Task
> Reporter: Elliotte Rusty Harold
> Assignee: Elliotte Rusty Harold
> Priority: Minor
>
> E.g. toRelative
> Most (all) of this old class functionality is in the JDK these days. Some of
> these methods are being invoked from places in other plugins that have little
> to nothing to do with wagon. E.g. PathUtil.toRelative is used heavily in
> AbstractJavadocMojo, a class that otherwise doesn't use wagon.
> Deprecating and replacing these various utility methods should allow us to
> decouple a lot of code from wagon, and maybe completely remove some
> dependencies.
> Also worth noting that the hacky string parsing in a lot of these methods is
> likely less reliable than the more considered versions of this functionality
> in the JDK.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)