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

camel-jbang --dep renamed to --deps #90

Open
davsclaus opened this issue May 4, 2022 · 3 comments
Open

camel-jbang --dep renamed to --deps #90

davsclaus opened this issue May 4, 2022 · 3 comments

Comments

@davsclaus
Copy link

In Camel 3.17 onwards its renamed to have same name as jbang itself

Using v0.2.0 release from today

[jbang] [WARN] Detected missing or out-of-date dependencies in cache.
[jbang] Resolving dependencies...
[jbang] Artifacts used for dependency management:
         org.apache.camel:camel-bom:pom:3.17.0-SNAPSHOT
[jbang] org.apache.camel:camel-jbang-core:jar:3.17.0-SNAPSHOT
         org.apache.camel.kamelets:camel-kamelets:jar:0.8.0
         org.apache.camel.kamelets:camel-kamelets-utils:jar:0.8.0
Done
[jbang] Dependencies resolved
[jbang] Building jar...
Unknown option: '--dep=org.apache.camel:camel-debug'
Possible solutions: --deps, --dev
The terminal process "/bin/zsh '-c', 'jbang camel@apache/camel run Hey.java --logging-level=info --dep=org.apache.camel:camel-debug'" terminated with exit code: 2.
@davsclaus
Copy link
Author

i am adding --dep as a backwards compatible in the mean time

@apupier
Copy link
Member

apupier commented May 4, 2022

that's an important breaking change in Camel. Shouldn't it support both --deps and --dep for a while in Camel?

@davsclaus
Copy link
Author

Until 3.18 LTS then we change what we want ;)

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

2 participants