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

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-statistics.git

commit e199583ad98f91514ae27bf3f92474b6e6bcc0b8
Author: aherbert <aherb...@apache.org>
AuthorDate: Tue Nov 29 14:44:47 2022 +0000

    Add release profile
---
 pom.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/pom.xml b/pom.xml
index c08a49f..c1a7d8b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -607,6 +607,7 @@ This is avoided by creating an empty directory when svn is 
not available.
 
     <!--
         Profiles for modules with special requirements.
+        These are combined with the existing <modules>.
     -->
     <profile>
       <id>examples</id>
@@ -615,6 +616,15 @@ This is avoided by creating an empty directory when svn is 
not available.
       </modules>
     </profile>
 
+    <profile>
+      <id>release</id>
+      <modules>
+        <!-- Examples are not part of the binary release so do not include in 
the build.
+             Use the examples profile to create the site. -->
+        <module>dist-archive</module>
+      </modules>
+    </profile>
+
   </profiles>
 
   <modules>

Reply via email to