Skip to content

Make TerminalOutput.pathToMaven() more robust to avoid #929 - #930

Merged
ppalaga merged 1 commit into
apache:masterfrom
ppalaga:i929
Apr 25, 2024
Merged

ppalaga merged 1 commit into
apache:masterfrom
ppalaga:i929

Conversation

@ppalaga

@ppalaga ppalaga commented Apr 12, 2024

Copy link
Copy Markdown
Contributor

Mitigates #929 but does not have an ambition to find the root cause.

@gastaldi

Copy link
Copy Markdown
Member

It would be nice to log (debug?) when the URL is malformed

@ppalaga

ppalaga commented Apr 12, 2024

Copy link
Copy Markdown
Contributor Author

It would be nice to log (debug?) when the URL is malformed

Well, the issue we are mitigating happens only in the text UI, where the place is sparse and where there is no concept of log level. I am not sure the information that we were not able to parse some URL is that interesting to end users. If we cannot parse it, we just print it as is. If the transfer failure matters, the daemon will inform them through a separate message. If it is ignorable, I do not think they need to know. My 2c.

@gnodet gnodet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Next maven resolver will probably have a better way to access this information with apache/maven-resolver#474, so we'll be able to update to that one when it's integrated into 3.9.x and 4.x maven branches.

@ppalaga
ppalaga merged commit 73bfecb into apache:master Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants