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-numbers.git
commit 2d7c020e2b6c0e61f913f1cb76d5d104b774ba5c Author: aherbert <[email protected]> AuthorDate: Fri Oct 28 16:05:26 2022 +0100 Add dist-archive module to the release profile Remove examples-jmh from the dist-archive. --- dist-archive/pom.xml | 19 ------------------- pom.xml | 11 +++++++++++ 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/dist-archive/pom.xml b/dist-archive/pom.xml index 59f6bc21..83088587 100644 --- a/dist-archive/pom.xml +++ b/dist-archive/pom.xml @@ -157,25 +157,6 @@ under the License. <classifier>javadoc</classifier> </dependency> - <!-- Module: Examples JMH --> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-numbers-examples-jmh</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-numbers-examples-jmh</artifactId> - <version>${project.version}</version> - <classifier>sources</classifier> - </dependency> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-numbers-examples-jmh</artifactId> - <version>${project.version}</version> - <classifier>javadoc</classifier> - </dependency> - <!-- Module: Field --> <dependency> <groupId>org.apache.commons</groupId> diff --git a/pom.xml b/pom.xml index 5316dc81..efa4b6ba 100644 --- a/pom.xml +++ b/pom.xml @@ -614,6 +614,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>commons-numbers-examples</id> @@ -621,6 +622,16 @@ This is avoided by creating an empty directory when svn is not available. <module>commons-numbers-examples</module> </modules> </profile> + + <profile> + <id>release</id> + <modules> + <!-- Examples are not part of the binary release so do not include in the build. + Use the commons-numbers-examples profile to create the site. --> + <module>dist-archive</module> + </modules> + </profile> + </profiles> <developers>
