You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2020/02/23 22:39:00 UTC
[jira] [Commented] (MSHARED-848) Code Improvement in ReaderFactory
to get rid of commons-io dependency
[ https://issues.apache.org/jira/browse/MSHARED-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17043078#comment-17043078 ]
Elliotte Rusty Harold commented on MSHARED-848:
-----------------------------------------------
This would require reimplementing {{org.apache.commons.io.input.XmlStreamReader or removing newXmlReader from this class. Just maybe we could do the latter if we first deprecated this and suggested clients depend on }}{{org.apache.commons.io.input.XmlStreamReader}}{{ directly. }}
> Code Improvement in ReaderFactory to get rid of commons-io dependency
> ---------------------------------------------------------------------
>
> Key: MSHARED-848
> URL: https://issues.apache.org/jira/browse/MSHARED-848
> Project: Maven Shared Components
> Issue Type: Improvement
> Components: maven-shared-utils
> Affects Versions: maven-shared-utils-3.3.0
> Reporter: Karl Heinz Marbaise
> Priority: Minor
> Fix For: maven-shared-utils-3.3.0
>
>
> Currently the dependency to:
> {code:xml}
> <dependency>
> <groupId>commons-io</groupId>
> <artifactId>commons-io</artifactId>
> <version>2.6</version>
> </dependency>
> {code}
> is only needed within the class {{ReaderFactory}} which imports {{org.apache.commons.io.input.XmlStreamReader}}.
> The question: Can that being replace with something different. In consequence we could get rid of the dependency to {{commons-io}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)