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


The following commit(s) were added to refs/heads/master by this push:
     new ac715fa  fix(OpenAPI): Use catalog runtime version to generate OpenAPI 
project
ac715fa is described below

commit ac715fa0cbad002adec05ac0bf3483a65bceb48a
Author: Antonin Stefanutti <anto...@stefanutti.fr>
AuthorDate: Tue Nov 26 10:08:02 2019 +0100

    fix(OpenAPI): Use catalog runtime version to generate OpenAPI project
---
 pkg/trait/rest-dsl.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/trait/rest-dsl.go b/pkg/trait/rest-dsl.go
index 78235c2..efc5ecd 100644
--- a/pkg/trait/rest-dsl.go
+++ b/pkg/trait/rest-dsl.go
@@ -225,7 +225,7 @@ func (t *restDslTrait) generateMavenProject(e *Environment) 
(maven.Project, erro
                        {
                                GroupID:    "org.apache.camel.k",
                                ArtifactID: "camel-k-maven-plugin",
-                               Version:    e.RuntimeVersion,
+                               Version:    e.CamelCatalog.RuntimeVersion,
                                Executions: []maven.Execution{
                                        {
                                                Phase: "generate-resources",

Reply via email to