-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TerminalOutput.pathToMaven throws StringIndexOutOfBoundsException #929
Comments
When I make
@gastaldi or @aloubyansky any idea which plugin or part of Maven could be requesting to resolve those? |
daemon-167cc94d.log |
Stunts like these ("reverse engineering URL into artifact" IIUC) should be avoided. Please do not do this 😄 Would logging just bare file name not be enough? |
It looks like it's missing the |
The full URL is much longer. The g:a:v makes the text UI much better readable.
Fixing the rendering in the console would be easy. Omitting the packaging is wrong at its source (wherever it comes from) because there are download failures logged for each of these incomplete URLs. |
I just got hit by this issue when building
|
Steps to reproduce:
The daemon log contains the following lines that cause the issue in the client:
Normally the artifact URL has an extension, such as
.pom
or.jar
. There is no such inhttps://repo.maven.apache.org/maven2/io/quarkus/quarkus-jackson/3.8.2/quarkus-jackson-3.8.2
above.I have no idea where it is coming from.
In any case, we should make the
TerminalOutput.pathToMaven()
method more robust so that it does not fail on this kind of input.The text was updated successfully, but these errors were encountered: