You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2019/04/05 08:48:25 UTC

[camel] branch master updated: CAMEL-13394: ability to skip Spring Boot starte...

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

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 99833bb  CAMEL-13394: ability to skip Spring Boot starte...
99833bb is described below

commit 99833bbc7e60be87a18cce2882761960e18b3000
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Fri Apr 5 10:48:19 2019 +0200

    CAMEL-13394: ability to skip Spring Boot starte...
    
    ...rs build
    
    When Maven property `-DskipSpringBootStarters` is defined
    `components-starter` module from `spring-boot` platform is excluded from
    the build.
---
 platforms/spring-boot/pom.xml | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/platforms/spring-boot/pom.xml b/platforms/spring-boot/pom.xml
index 5776330..b296036 100644
--- a/platforms/spring-boot/pom.xml
+++ b/platforms/spring-boot/pom.xml
@@ -34,7 +34,21 @@
 
     <modules>
         <module>spring-boot-dm</module>
-        <module>components-starter</module>
     </modules>
 
+    <profiles>
+        <profile>
+            <id>spring-boot-starters</id>
+            <activation>
+                <property>
+                    <name>!skipSpringBootStarters</name>
+                </property>
+            </activation>
+            <modules>
+                <module>spring-boot-dm</module>
+                <module>components-starter</module>
+            </modules>
+        </profile>
+    </profiles>
+
 </project>