From fae70b1a132058635da85f4c715ef4ad0eab8040 Mon Sep 17 00:00:00 2001 From: lburgazzoli Date: Thu, 13 Dec 2018 00:26:33 +0100 Subject: [PATCH] chore(build): add a simple profile to check for dependencies updates --- runtime/.maven-versions-rules.xml | 39 +++++++++++++++++++++ runtime/pom.xml | 56 +++++++++++++++++++++++++------ 2 files changed, 84 insertions(+), 11 deletions(-) create mode 100644 runtime/.maven-versions-rules.xml diff --git a/runtime/.maven-versions-rules.xml b/runtime/.maven-versions-rules.xml new file mode 100644 index 0000000000..44e512be36 --- /dev/null +++ b/runtime/.maven-versions-rules.xml @@ -0,0 +1,39 @@ + + + + + + + (?i).*Alpha(?:-?\d+)? + (?i).*a(?:-?\d+)? + (?i).*Beta(?:-?\d+)? + (?i).*-B(?:-?\d+)? + (?i).*RC(?:-?\d+)? + (?i).*CR(?:-?\d+)? + (?i).*M(?:-?\d+)? + + + + + + \ No newline at end of file diff --git a/runtime/pom.xml b/runtime/pom.xml index e7f2c3aa9f..7e421b9c8b 100644 --- a/runtime/pom.xml +++ b/runtime/pom.xml @@ -17,22 +17,17 @@ limitations under the License. --> - + 4.0.0 - org.apache.camel.k camel-k-runtime-parent 0.1.1-SNAPSHOT pom - + UTF-8 - 1.8 1.8 - 2.23.0 4.12 5.3.2 @@ -49,11 +44,12 @@ 1.2-groovy-2.5 2.9.7 2.1.0.RELEASE - 1.6.1 3.5.40 3.8.0 2.22.1 + 2.7 + 0.3.1 @@ -79,7 +75,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.0 + ${maven-compiler-plugin.version} 1.8 1.8 @@ -96,7 +92,7 @@ - + jvm groovy @@ -108,4 +104,42 @@ camel-knative - + + + deps + + false + + + initialize versions:display-dependency-updates + + + org.commonjava.maven.plugins + directory-maven-plugin + ${directory-maven-plugin.version} + + + directories + + highest-basedir + + initialize + + camel-k.project.root + + + + + + org.codehaus.mojo + versions-maven-plugin + ${versions-maven-plugin.version} + + file:///${camel-k.project.root}/.maven-versions-rules.xml + + + + + + + \ No newline at end of file