You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2020/03/20 14:38:13 UTC

[camel-k-runtime] branch master updated: Don't hardcode runtime version in camel-k-maven-plugin ITs

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 5c42f7c  Don't hardcode runtime version in camel-k-maven-plugin ITs
5c42f7c is described below

commit 5c42f7ce75d05410c18c4a555373de17be21bf85
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Fri Mar 20 15:37:42 2020 +0100

    Don't hardcode runtime version in camel-k-maven-plugin ITs
---
 tooling/camel-k-maven-plugin/pom.xml                                   | 3 +++
 .../camel-k-maven-plugin/src/it/generate-catalog-main/verify.groovy    | 2 --
 .../camel-k-maven-plugin/src/it/generate-catalog-quarkus/verify.groovy | 2 --
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/tooling/camel-k-maven-plugin/pom.xml b/tooling/camel-k-maven-plugin/pom.xml
index 3a3bf47..67d4bfc 100644
--- a/tooling/camel-k-maven-plugin/pom.xml
+++ b/tooling/camel-k-maven-plugin/pom.xml
@@ -228,6 +228,9 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-invoker-plugin</artifactId>
         <configuration>
+          <scriptVariables>
+            <runtimeVersion>${project.version}</runtimeVersion>
+          </scriptVariables>
           <pomIncludes>
             <pomInclude>generate-catalog-main/pom.xml</pomInclude>
             <pomInclude>generate-catalog-quarkus/pom.xml</pomInclude>
diff --git a/tooling/camel-k-maven-plugin/src/it/generate-catalog-main/verify.groovy b/tooling/camel-k-maven-plugin/src/it/generate-catalog-main/verify.groovy
index bd8666d..fbad5a9 100644
--- a/tooling/camel-k-maven-plugin/src/it/generate-catalog-main/verify.groovy
+++ b/tooling/camel-k-maven-plugin/src/it/generate-catalog-main/verify.groovy
@@ -14,8 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-def runtimeVersion = '1.2.0-SNAPSHOT'
-
 def source  = new File(basedir, "catalog.yaml")
 def catalog = new org.yaml.snakeyaml.Yaml().load(new FileInputStream(source))
 
diff --git a/tooling/camel-k-maven-plugin/src/it/generate-catalog-quarkus/verify.groovy b/tooling/camel-k-maven-plugin/src/it/generate-catalog-quarkus/verify.groovy
index 3f9680b..0236404 100644
--- a/tooling/camel-k-maven-plugin/src/it/generate-catalog-quarkus/verify.groovy
+++ b/tooling/camel-k-maven-plugin/src/it/generate-catalog-quarkus/verify.groovy
@@ -14,8 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-def runtimeVersion = '1.2.0-SNAPSHOT'
-
 def source  = new File(basedir, "catalog.yaml")
 def catalog = new org.yaml.snakeyaml.Yaml().load(new FileInputStream(source))