Re: [I] TerminalOutput.pathToMaven throws StringIndexOutOfBoundsException [maven-mvnd]

2024-04-12 Thread via GitHub
ppalaga commented on issue #929: URL: https://github.com/apache/maven-mvnd/issues/929#issuecomment-2052375052 > Would logging just bare file name not be enough? The full URL is much longer. The g:a:v makes the text UI much better readable. > It looks like it's missing the

Re: [I] TerminalOutput.pathToMaven throws StringIndexOutOfBoundsException [maven-mvnd]

2024-04-12 Thread via GitHub
gastaldi commented on issue #929: URL: https://github.com/apache/maven-mvnd/issues/929#issuecomment-2052259867 It looks like it's missing the `packaging` in the URL, which should default to `jar` if not specified in the model. -- This is an automated message from the Apache Git Service.

Re: [I] TerminalOutput.pathToMaven throws StringIndexOutOfBoundsException [maven-mvnd]

2024-04-12 Thread via GitHub
cstamas commented on issue #929: URL: https://github.com/apache/maven-mvnd/issues/929#issuecomment-2051952768 Stunts like these ("reverse engineering URL into artifact" IIUC) should be avoided. Please do not do this :smile: Would logging just bare file name not be enough? -- This is an

Re: [I] TerminalOutput.pathToMaven throws StringIndexOutOfBoundsException [maven-mvnd]

2024-04-12 Thread via GitHub
ppalaga commented on issue #929: URL: https://github.com/apache/maven-mvnd/issues/929#issuecomment-2051843233 [daemon-167cc94d.log](https://github.com/apache/maven-mvnd/files/14959771/daemon-167cc94d.log) Attaching the whole log after applying the linked patch in case somebody would

Re: [I] TerminalOutput.pathToMaven throws StringIndexOutOfBoundsException [maven-mvnd]

2024-04-12 Thread via GitHub
ppalaga commented on issue #929: URL: https://github.com/apache/maven-mvnd/issues/929#issuecomment-2051825980 When I make `TerminalOutput.pathToMaven()` more robust, I see many such extension-less URLs ``` $ grep "\-3.8.2'" daemon-167cc94d.log 15:43:45.779 I Dispatch message:

[I] TerminalOutput.pathToMaven throws StringIndexOutOfBoundsException [maven-mvnd]

2024-04-12 Thread via GitHub
ppalaga opened a new issue, #929: URL: https://github.com/apache/maven-mvnd/issues/929 Steps to reproduce: ``` git clone g...@github.com:quarkiverse/quarkus-langchain4j.git cd quarkus-langchain4j git reset --hard 177efc97b49823ad747a87766ea1e1d0c2b71ef6 mvnd --stop