Skip to content

Avoid hardcoded versions of catalogs #1353

@davsclaus

Description

@davsclaus

The lsp-server has a hardcoded dependency on the following dependencies

                <exclusion>
                    <groupId>org.apache.camel.kamelets</groupId>
                    <artifactId>camel-kamelets-catalog</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.camel.springboot</groupId>
                    <artifactId>camel-catalog-provider-springboot</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.camel.quarkus</groupId>
                    <artifactId>camel-quarkus-catalog</artifactId>
                </exclusion>

It may be better to make the camel-lsp-server more dynamic and allow to download a different versions so end users can use the correct version.

The current code is hardcoded and load default katalogs in their constructors which causes problems.
It would be good to make this more dynamic and plugin/controllable so we can provide existing loaded catalogs.

For example from other tools like Kaoto and Camel JBang.
https://issues.apache.org/jira/browse/CAMEL-22590

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions