Conditional build of module "commons-rng-examples".

Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/43e3dc5f
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/43e3dc5f
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/43e3dc5f

Branch: refs/heads/1.0-release
Commit: 43e3dc5fbaeecc02b586c8ec863be0b653249391
Parents: 88cc6c7
Author: Gilles <er...@apache.org>
Authored: Thu Nov 24 09:41:36 2016 +0100
Committer: Gilles <er...@apache.org>
Committed: Thu Nov 24 09:41:36 2016 +0100

----------------------------------------------------------------------
 pom.xml | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/43e3dc5f/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 15f38f1..92dda85 100644
--- a/pom.xml
+++ b/pom.xml
@@ -523,6 +523,15 @@
       </build>
     </profile>
 
+    <!--
+        Profiles for modules with special requirements.
+    -->
+    <profile>
+      <id>commons-rng-examples</id>
+      <modules>
+        <module>commons-rng-examples</module>
+      </modules>
+    </profile>
   </profiles>
 
   <modules>
@@ -531,7 +540,11 @@
     <module>commons-rng-simple</module>
     <module>commons-rng-sampling</module>
     <module>commons-rng-jmh</module>
-    <module>commons-rng-examples</module>
+    <!--
+        Built only upon explicit request (requires Java 1.7+).
+        See profile "commons-rng-examples".
+    -->
+    <!-- <module>commons-rng-examples</module> -->
   </modules>
 
 </project>

Reply via email to