You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/02/19 10:40:01 UTC

[camel-k] 01/03: A

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

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

commit 5dcbc0e91068b0abcddcdf552a365a6e967964f2
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 19 11:13:47 2019 +0100

    A
---
 runtime/pom.xml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/runtime/pom.xml b/runtime/pom.xml
index 8a0bc7c..8d31398 100644
--- a/runtime/pom.xml
+++ b/runtime/pom.xml
@@ -129,6 +129,31 @@
                 <failIfNoTests>false</failIfNoTests>
             </configuration>
                 </plugin>
+
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-release-plugin</artifactId>
+          <!-- see https://issues.apache.org/jira/browse/MRELEASE-812 -->
+          <version>2.4.2</version>
+          <dependencies>
+            <dependency>
+              <groupId>org.apache.maven.scm</groupId>
+              <artifactId>maven-scm-provider-gitexe</artifactId>
+              <version>1.9</version>
+            </dependency>
+          </dependencies>
+          <configuration>
+            <localCheckout>true</localCheckout>
+            <pushChanges>true</pushChanges>
+            <tagNameFormat>@{project.artifactId}-@{project.version}</tagNameFormat>
+            <useReleaseProfile>false</useReleaseProfile>
+            <preparationGoals>clean install</preparationGoals>
+            <goals>deploy</goals>
+            <!-- The profile we want to use when doing the release -->
+            <arguments>-Prelease,apache-release</arguments>
+            <autoVersionSubmodules>true</autoVersionSubmodules>
+          </configuration>
+        </plugin>
             </plugins>
         </pluginManagement>
     </build>