Skip to content
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

kamel inspect is not providing dependencies specified in modeline #1921

Closed
apupier opened this issue Jan 19, 2021 · 1 comment
Closed

kamel inspect is not providing dependencies specified in modeline #1921

apupier opened this issue Jan 19, 2021 · 1 comment

Comments

@apupier
Copy link
Contributor

apupier commented Jan 19, 2021

call kamel inspect MyRouteBuilderWithAdditionalDependencies.java with the specified file having this content:

// camel-k: dependency=mvn:com.github.camel-tooling/camel-lsp-server:1.1.0

import org.apache.camel.builder.RouteBuilder;

public class MyRouteBuilderWithAdditionalDependencies extends RouteBuilder{
	public void configure() {
    }
}

it returns:
mvn:org.apache.camel.k/camel-k-loader-java

the declared depdency in modeline is missing

@apupier apupier changed the title kamel inspect i snot providing dependencies specified in modeline kamel inspect is not providing dependencies specified in modeline Jan 19, 2021
@doru1004
Copy link
Contributor

doru1004 commented Jan 20, 2021

Thanks for reporting this.

Solved by: #1924

@oscerd oscerd closed this as completed Mar 5, 2021
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

No branches or pull requests

3 participants