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 run --maven-repository doesn't work when we have @mirrorOf=* at kamel install #2391

Closed
tadayosi opened this issue Jun 10, 2021 · 1 comment
Labels

Comments

@tadayosi
Copy link
Member

To reproduce (substitute http://nexus.nexus/repository/maven-public/ with the repo manager you setup in your cluster):

kamel install --maven-repository=http://nexus.nexus/repository/maven-public/@id=nexus@mirrorOf=*
kamel run e2e/common/build/files/Java.java --maven-repository=https://maven.repository.redhat.com/ga@id=redhat --dependency=mvn:jakarta.annotation:jakarta.annotation-api:1.3.5.redhat-00002

and the integration fails to run due to:

{"level":"info","ts":1623312649.5127628,"logger":"camel-k.maven.build","msg":"---------< org.apache.camel.k.integration:camel-k-integration >---------"}
{"level":"info","ts":1623312649.513057,"logger":"camel-k.maven.build","msg":"Building camel-k-integration 1.5.0-SNAPSHOT"}
{"level":"info","ts":1623312649.5132287,"logger":"camel-k.maven.build","msg":"--------------------------------[ jar ]---------------------------------"}
{"level":"info","ts":1623312650.7100327,"logger":"camel-k.maven.build","msg":"The POM for jakarta.annotation:jakarta.annotation-api:jar:1.3.5.redhat-00002 is missing, no dependency information available"}

@astefanutti astefanutti changed the title kame run --maven-repository doesn't work when we have @mirrorOf=* at kamel install kamel run --maven-repository doesn't work when we have @mirrorOf=* at kamel install Jun 11, 2021
@astefanutti astefanutti added the area/cli Kamel CLI label Jun 11, 2021
@github-actions
Copy link
Contributor

This issue has been automatically marked as stale due to 90 days of inactivity.
It will be closed if no further activity occurs within 15 days.
If you think that’s incorrect or the issue should never stale, please simply write any comment.
Thanks for your contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants