tarilabs commented on issue #3937:
URL: https://github.com/apache/camel-k/issues/3937#issuecomment-1359319703
update: I believe the problem might be related to the fact one of the module
in the multi-module is another Quarkus application, as the Camel-K Operator is
now failing with
```
{"level":"info","ts":1671541114.4692822,"logger":"camel-k.maven.build","msg":"------------------------------------------------------------------------"}
{"level":"info","ts":1671541114.4694455,"logger":"camel-k.maven.build","msg":"BUILD
FAILURE"}
{"level":"info","ts":1671541114.4706187,"logger":"camel-k.maven.build","msg":"------------------------------------------------------------------------"}
{"level":"info","ts":1671541114.4731157,"logger":"camel-k.maven.build","msg":"Total
time: 01:13 min (Wall Clock)"}
{"level":"info","ts":1671541114.4731894,"logger":"camel-k.maven.build","msg":"Finished
at: 2022-12-20T12:58:34Z"}
{"level":"info","ts":1671541114.473202,"logger":"camel-k.maven.build","msg":"------------------------------------------------------------------------"}
{"level":"error","ts":1671541114.477396,"logger":"camel-k.maven.build","msg":"Failed
to execute goal io.quarkus:quarkus-maven-plugin:2.14.0.Final:build (default)
on project camel-k-integration: Failed to build quarkus application:
io.quarkus.builder.BuildException: Build failure: Build failed due to
errors","stacktrace":"github.com/apache/camel-k/pkg/util/log.Logger.Error\n\tgithub.com/apache/camel-k/pkg/util/log/log.go:75\ngithub.com/apache/camel-k/pkg/util/maven.normalizeLog\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_log.go:83\ngithub.com/apache/camel-k/pkg/util/maven.mavenLogHandler\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_log.go:54\ngithub.com/apache/camel-k/pkg/util.scan\n\tgithub.com/apache/camel-k/pkg/util/command.go:77\ngithub.com/apache/camel-k/pkg/util.RunAndLog.func1\n\tgithub.com/apache/camel-k/pkg/util/command.go:56\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/[email protected]/errgroup/errgroup.go:75"}
{"level":"error","ts":1671541114.477517,"logger":"camel-k.maven.build","msg":"\t[error]:
Build step io.quarkus.kubernetes.deployment.KubernetesProcessor#build threw an
exception: java.lang.NoSuchMethodError:
'io.fabric8.kubernetes.api.model.rbac.PolicyRuleFluent
io.fabric8.kubernetes.api.model.rbac.PolicyRuleBuilder.addNewApiGroup(java.lang.String)'","stacktrace":"github.com/apache/camel-k/pkg/util/log.Logger.Error\n\tgithub.com/apache/camel-k/pkg/util/log/log.go:75\ngithub.com/apache/camel-k/pkg/util/maven.normalizeLog\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_log.go:83\ngithub.com/apache/camel-k/pkg/util/maven.mavenLogHandler\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_log.go:54\ngithub.com/apache/camel-k/pkg/util.scan\n\tgithub.com/apache/camel-k/pkg/util/command.go:77\ngithub.com/apache/camel-k/pkg/util.RunAndLog.func1\n\tgithub.com/apache/camel-k/pkg/util/command.go:56\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/[email protected]/errgroup/errgroup.go
:75"}
```
So while I've tried Kamelet having:
```yaml
dependencies:
- "camel:core"
- "camel:kamelet"
- "github:kiegroup/yard/camelk-SNAPSHOT"
```
per earlier suggestion, this might be problematic as the jitpack aggregator
would make another quarkus app a (transitive dependency). Just a wild guess 🤷
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]