You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/10/09 18:54:49 UTC

[GitHub] [maven] gnodet commented on pull request #812: [MNG-6437] Better support for path and uri in property interpolation

gnodet commented on PR #812:
URL: https://github.com/apache/maven/pull/812#issuecomment-1272606563

   > Yet another problem with URIs is to get a decent string representation `URI#toString()` is _not_ suited since it does _not_ encode unsafe characters. Can this address this problem to invoke `URI#toASCIIString()` instead?
   
   `${session.multiModuleProjectDirectory.uri}` returns a `URI` object. If you interpolate it, the `toString()` method will be used by default.  But one could also use `${session.multiModuleProjectDirectory.uri.aSCIIString}` I think, as all `toXxx` methods are supported.
   There may be a way to intercept `URI` -> `String` conversion, I'll look into it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org