Closed ghentschke closed 4 months ago
I fixed the unit tests. Please review @ruspl-afed
@ghentschke , what is your plan regarding this one? My suggestion is to merge it "as is" and then have another iteration of API refinement.
what is your plan regarding this one? My suggestion is to merge it "as is" and then have another iteration of API refinement
I am currently working on another issue but I wanted to catch up some of your comments which can be fixed fast. I think I can do that today.
I would at least fix the build error in the test
@ruspl-afed or @jonahgraham Do have na idea why the master cannot be build? It claims that the maven version must be 3.9.0.
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-source-plugin:4.0.6:plugin-source (plugin-source) on project org.eclipse.cdt.lsp.root: The plugin org.eclipse.tycho:tycho-source-plugin:4.0.6 requires Maven version 3.9.0 -> [Help 1]
But the maven version has already been updated here: https://github.com/eclipse-cdt/cdt-lsp/blob/e45bfa79a6107a64ebc08b820a7166bb4c1471db/.github/workflows/tycho-build.yaml#L19
This is controlled by https://github.com/eclipse-cdt/cdt-lsp/blob/master/Jenkinsfile and not the GHA file. Unfortunately, I have no idea how your docker image is defined to be able to help you more. In not that custom environments smth like https://github.com/eclipse-platform/eclipse.platform.ui/blob/04dd9a1bf255b0af610082a38d79ccd4fa861084/Jenkinsfile#L11 is enough.
Probably changing the mvn executable used to the one that cdt uses https://github.com/eclipse-cdt/cdt/blob/95fe4d87010b1446741bedd8818bea3252ebc8be/Jenkinsfile#L40C23-L40C61 should do the trick.
Sorry - @ghentschke I forgot that I had updated only main CDT Jenkinsfile and not the cdt-lsp one. PR incoming.
@akurtakov Thank you for the hints!
to provide a stable API with v2.0.0