[
https://issues.apache.org/jira/browse/MNG-8625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tamas Cservenak closed MNG-8625.
--------------------------------
Resolution: Fixed
> Project builder w/ CI friendly versions: tries to resolve un-interpolated
> versioned artifacts
> ---------------------------------------------------------------------------------------------
>
> Key: MNG-8625
> URL: https://issues.apache.org/jira/browse/MNG-8625
> Project: Maven
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 4.0.0-rc-3
> Reporter: Tamas Cservenak
> Assignee: Tamas Cservenak
> Priority: Blocker
> Fix For: 4.0.0-rc-4
>
>
> A Mimir URI encoding bug revealed a hidden issue (that went unnoticed as
> Resolver just "ate it"):
> The two ITs MavenITmng5895CIFriendlyUsageWithPropertyTest and
> MavenITmng6090CIFriendlyTest both cause IT to explode due Mimir URI encoding
> bug, both choke on download URIs (as Connector is getting URIs) as this:
> {noformat}
> Caused by: java.lang.IllegalArgumentException: Illegal character in opaque
> part at index 62:
> mimir:artifact:central:mng-6090-ci-friendly:base-project:pom:${revision}
> at java.net.URI.create(URI.java:906)
> at
> eu.maveniverse.maven.mimir.shared.naming.KeyMapper.apply(KeyMapper.java:36)
> at
> eu.maveniverse.maven.mimir.shared.naming.KeyMapper.apply(KeyMapper.java:16)
> at
> eu.maveniverse.maven.mimir.shared.impl.SessionImpl.locate(SessionImpl.java:78)
> at
> eu.maveniverse.maven.mimir.extension3.MimirRepositoryConnector.get(MimirRepositoryConnector.java:81)
> at
> org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:490)
> {noformat}
> And similar for other IT. This means that Maven CI Friendly version tries to
> resolve un-interpolated atifact (version yields {{{}$\{revision{}}}}), which
> is wrong.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)