This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit a453b6636bde1af06b08fd6c1b6da450046c40d2
Author: Antonin Stefanutti <[email protected]>
AuthorDate: Tue Oct 22 15:37:18 2019 +0200

    feat(quarkus): Sanitize Camel Quarkus dependencies
---
 pkg/builder/builder_steps.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pkg/builder/builder_steps.go b/pkg/builder/builder_steps.go
index 32a54fa..878ef56 100644
--- a/pkg/builder/builder_steps.go
+++ b/pkg/builder/builder_steps.go
@@ -217,13 +217,13 @@ func sanitizeDependencies(ctx *Context) error {
        for i := 0; i < len(ctx.Maven.Project.Dependencies); i++ {
                dep := ctx.Maven.Project.Dependencies[i]
 
+               // It may be externalized into runtime provider specific steps
                switch dep.GroupID {
                case "org.apache.camel":
-                       //
-                       // Remove the version so we force using the one 
configured by the bom
-                       //
-                       ctx.Maven.Project.Dependencies[i].Version = ""
+                       fallthrough
                case "org.apache.camel.k":
+                       fallthrough
+               case "org.apache.camel.quarkus":
                        //
                        // Remove the version so we force using the one 
configured by the bom
                        //

Reply via email to