[
https://issues.apache.org/jira/browse/MNG-8059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17819720#comment-17819720
]
ASF GitHub Bot commented on MNG-8059:
-------------------------------------
cstamas commented on code in PR #1413:
URL: https://github.com/apache/maven/pull/1413#discussion_r1499561548
##########
maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java:
##########
@@ -654,7 +654,7 @@ public ArtifactRepository
createLocalRepository(MavenExecutionRequest request, F
public ArtifactRepository createLocalRepository(File localRepository)
throws InvalidRepositoryException {
return createRepository(
- "file://" + localRepository.toURI().getRawPath(),
+ localRepository.toPath().toUri().toASCIIString(),
Review Comment:
This change seems unrelated, will try to undo this, as IMHO is actually not
needed.
> Move Resolver off java.io.File to NIO2 Paths
> --------------------------------------------
>
> Key: MNG-8059
> URL: https://issues.apache.org/jira/browse/MNG-8059
> Project: Maven
> Issue Type: Task
> Components: Artifacts and Repositories
> Reporter: Tamas Cservenak
> Assignee: Tamas Cservenak
> Priority: Major
> Fix For: 4.0.0, 4.0.0-alpha-13
>
>
> Followup of MRESOLVER-496
--
This message was sent by Atlassian Jira
(v8.20.10#820010)