brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [1/2] brooklyn-dist git commit: Add a build flag "-Dno-rpm" to allow configuration of build to avoid RPM packaging step.
Date Tue, 15 Mar 2016 11:38:36 GMT
Repository: brooklyn-dist
Updated Branches:
  refs/heads/master 6b906265f -> ce322a31d


Add a build flag "-Dno-rpm" to allow configuration of build to avoid RPM packaging step.


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/commit/f161c29c
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/tree/f161c29c
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/diff/f161c29c

Branch: refs/heads/master
Commit: f161c29c142603d824b7a32c4db1367b5a1bd6d4
Parents: 6b90626
Author: Geoff Macartney <geoff.macartney@cloudsoftcorp.com>
Authored: Tue Mar 15 10:58:19 2016 +0000
Committer: Geoff Macartney <geoff.macartney@cloudsoftcorp.com>
Committed: Tue Mar 15 10:58:19 2016 +0000

----------------------------------------------------------------------
 pom.xml | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/f161c29c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index fd4b767..c13e2b5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -70,11 +70,27 @@
         </mailingList>
     </mailingLists>
 
+
+    <profiles>
+        <profile>
+            <!-- skip the RPM build by setting -Dno-rpm - useful if RPM tool is not available
-->
+            <id>rpm-module</id>
+            <activation>
+                <property>
+                    <name>!no-rpm</name>
+                </property>
+            </activation>
+            <modules>
+                <module>packaging</module>
+            </modules>
+        </profile>
+    </profiles>
+
+
     <modules>
         <module>downstream-parent</module>
         <module>all</module>
         <module>dist</module>
-        <module>packaging</module>
         <module>vagrant</module>
         <module>archetypes/quickstart</module>
     </modules>


Mime
View raw message