You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2019/11/26 10:42:17 UTC

[camel-k] branch master updated: fix(OpenAPI): Use catalog runtime version to generate OpenAPI project

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 <an...@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",