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 bfb8a7131ced681175e581f08c6c9f510fc856c4 Author: aherbert <aherb...@apache.org> AuthorDate: Tue Dec 6 11:11:39 2022 +0000 Prepare for next development version as 1.1-SNAPSHOT --- RELEASE-NOTES.txt | 28 +++++- commons-statistics-distribution/pom.xml | 8 +- commons-statistics-distribution/src/site/site.xml | 4 +- .../examples-distribution/pom.xml | 4 +- commons-statistics-examples/examples-jmh/pom.xml | 2 +- commons-statistics-examples/pom.xml | 6 +- commons-statistics-regression/pom.xml | 8 +- dist-archive/pom.xml | 10 +- pom.xml | 13 ++- src/changes/changes.xml | 7 +- .../resources/release-notes/RELEASE-NOTES-1.0.txt | 32 ++++++ src/site/xdoc/download_statistics.xml | 107 ++++++++++++++++++--- src/site/xdoc/release-history.xml | 35 +++++++ 13 files changed, 216 insertions(+), 48 deletions(-) diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 758b102..ff4b332 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,12 +1,32 @@ + Apache Commons Statistics + Version 1.0 + Release Notes - Apache Commons Statistics RELEASE NOTES + +INTRODUCTION: + +This document contains the release notes for the 1.0 version of Apache Commons Statistics. The Apache Commons Statistics project provides tools for statistics. -There has been no formal release of this component. 1.0-SNAPSHOT versions -are available for testing using the Apache snapshots repository. +This is the first release of Apache Commons Statistics. + +Contains the following modules: + + commons-statistics-distribution. + +Requires Java 8. + +No changes defined in this version. + +Historical list of changes: https://commons.apache.org/proper/commons-statistics/changes-report.html For complete information on Apache Commons Statistics, including instructions on how to submit bug reports, patches, or suggestions for improvement, see the Apache Commons Statistics website: -http://commons.apache.org/proper/commons-statistics/ +https://commons.apache.org/proper/commons-statistics/ + +Download page: https://commons.apache.org/proper/commons-statistics/download_statistics.cgi + +Have fun! +-Apache Commons Team diff --git a/commons-statistics-distribution/pom.xml b/commons-statistics-distribution/pom.xml index 0da6619..c0e0015 100644 --- a/commons-statistics-distribution/pom.xml +++ b/commons-statistics-distribution/pom.xml @@ -15,19 +15,17 @@ See the License for the specific language governing permissions and limitations under the License. --> -<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" - xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.commons</groupId> <artifactId>commons-statistics-parent</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> </parent> <artifactId>commons-statistics-distribution</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> <name>Apache Commons Statistics Distribution</name> <description>Statistical distributions.</description> diff --git a/commons-statistics-distribution/src/site/site.xml b/commons-statistics-distribution/src/site/site.xml index dc527ff..e7b664c 100644 --- a/commons-statistics-distribution/src/site/site.xml +++ b/commons-statistics-distribution/src/site/site.xml @@ -28,10 +28,8 @@ <item name="Overview" href="index.html"/> <item name="Latest API docs (development)" href="apidocs/index.html"/> - <!-- TODO: Uncomment for initial release <item name="Javadoc (1.0 release)" - href="https://commons.apache.org/rng/commons-statistics-distribution/javadocs/api-1.0/index.html"/> - --> + href="https://commons.apache.org/statistics/commons-statistics-distribution/javadocs/api-1.0/index.html"/> </menu> </body> diff --git a/commons-statistics-examples/examples-distribution/pom.xml b/commons-statistics-examples/examples-distribution/pom.xml index 6dbaf17..977bd07 100644 --- a/commons-statistics-examples/examples-distribution/pom.xml +++ b/commons-statistics-examples/examples-distribution/pom.xml @@ -21,11 +21,11 @@ <parent> <groupId>org.apache.commons</groupId> <artifactId>commons-statistics-examples</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> </parent> <artifactId>commons-statistics-examples-distribution</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> <!-- This name is used in the shaded jar to provide the application title for the version information. --> <name>Apache Commons Statistics Distribution Utilities</name> diff --git a/commons-statistics-examples/examples-jmh/pom.xml b/commons-statistics-examples/examples-jmh/pom.xml index 605fde1..2e4abed 100644 --- a/commons-statistics-examples/examples-jmh/pom.xml +++ b/commons-statistics-examples/examples-jmh/pom.xml @@ -21,7 +21,7 @@ <parent> <groupId>org.apache.commons</groupId> <artifactId>commons-statistics-examples</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> </parent> <artifactId>commons-statistics-examples-jmh</artifactId> diff --git a/commons-statistics-examples/pom.xml b/commons-statistics-examples/pom.xml index a15a2d3..f3690f8 100644 --- a/commons-statistics-examples/pom.xml +++ b/commons-statistics-examples/pom.xml @@ -21,11 +21,11 @@ <parent> <groupId>org.apache.commons</groupId> <artifactId>commons-statistics-parent</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> </parent> <artifactId>commons-statistics-examples</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> <packaging>pom</packaging> <name>Apache Commons Statistics Examples</name> @@ -58,7 +58,7 @@ <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-statistics-distribution</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> </dependency> <dependency> <groupId>info.picocli</groupId> diff --git a/commons-statistics-regression/pom.xml b/commons-statistics-regression/pom.xml index 4ad0d34..f786ca6 100644 --- a/commons-statistics-regression/pom.xml +++ b/commons-statistics-regression/pom.xml @@ -15,19 +15,17 @@ See the License for the specific language governing permissions and limitations under the License. --> -<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" - xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.commons</groupId> <artifactId>commons-statistics-parent</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> </parent> <artifactId>commons-statistics-regression</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> <name>Apache Commons Statistics Regression</name> <description>Statistical regressions.</description> diff --git a/dist-archive/pom.xml b/dist-archive/pom.xml index 1831314..438e2a3 100644 --- a/dist-archive/pom.xml +++ b/dist-archive/pom.xml @@ -23,11 +23,11 @@ under the License. <parent> <groupId>org.apache.commons</groupId> <artifactId>commons-statistics-parent</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> </parent> <artifactId>commons-statistics</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> <packaging>pom</packaging> <name>Apache Commons Statistics (full distribution)</name> <description>This module creates the Apache Commons Statistics distribution.</description> @@ -65,18 +65,18 @@ under the License. <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-statistics-distribution</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-statistics-distribution</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> <classifier>sources</classifier> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-statistics-distribution</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> <classifier>javadoc</classifier> </dependency> diff --git a/pom.xml b/pom.xml index 69aa244..5c2b0c7 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <modelVersion>4.0.0</modelVersion> <artifactId>commons-statistics-parent</artifactId> <packaging>pom</packaging> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> <name>Apache Commons Statistics</name> <inceptionYear>2018</inceptionYear> @@ -494,9 +494,8 @@ </goals> <configuration> <target name="empty-checkout" unless="${perform.site.checkout}"> - <mkdir dir="${commons.scmPubCheckoutDirectory}"/> - <echo file="${commons.scmPubCheckoutDirectory}${file.separator}README" - message="The '${commons.scmPubCheckoutDirectory}' directory is empty in child modules."/> + <mkdir dir="${commons.scmPubCheckoutDirectory}" /> + <echo file="${commons.scmPubCheckoutDirectory}${file.separator}README" message="The '${commons.scmPubCheckoutDirectory}' directory is empty in child modules." /> </target> </configuration> </execution> @@ -514,7 +513,7 @@ <arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" /> </exec> <!-- Create the directory in the event that no svn exectuable is on the path --> - <mkdir dir="${commons.scmPubCheckoutDirectory}"/> + <mkdir dir="${commons.scmPubCheckoutDirectory}" /> <echo file="${commons.scmPubCheckoutDirectory}.README">The '${commons.scmPubCheckoutDirectory}' directory is controlled by "subversion". Running "svn up" will download *all* the files of the live web site at @@ -551,8 +550,8 @@ This is avoided by creating an empty directory when svn is not available. </goals> <configuration> <target name="remove-checkout"> - <delete dir="${commons.scmPubCheckoutDirectory}" quiet="true"/> - <delete file="${commons.scmPubCheckoutDirectory}.README" quiet="true"/> + <delete dir="${commons.scmPubCheckoutDirectory}" quiet="true" /> + <delete file="${commons.scmPubCheckoutDirectory}.README" quiet="true" /> </target> </configuration> </execution> diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 927aa21..f4e3373 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -53,7 +53,12 @@ If the output is not quite correct, check for invisible trailing spaces! </properties> <body> - <release version="1.0-beta1" date="2020-04-30" description=" + <release version="1.1" date="TBD" description=" +New features, updates and bug fixes (requires Java 8). +"> + </release> + + <release version="1.0" date="2022-12-05" description=" This is the first release of Apache Commons Statistics. Contains the following modules: diff --git a/src/site/resources/release-notes/RELEASE-NOTES-1.0.txt b/src/site/resources/release-notes/RELEASE-NOTES-1.0.txt new file mode 100644 index 0000000..ff4b332 --- /dev/null +++ b/src/site/resources/release-notes/RELEASE-NOTES-1.0.txt @@ -0,0 +1,32 @@ + Apache Commons Statistics + Version 1.0 + Release Notes + + +INTRODUCTION: + +This document contains the release notes for the 1.0 version of Apache Commons Statistics. + +The Apache Commons Statistics project provides tools for statistics. + +This is the first release of Apache Commons Statistics. + +Contains the following modules: + + commons-statistics-distribution. + +Requires Java 8. + +No changes defined in this version. + +Historical list of changes: https://commons.apache.org/proper/commons-statistics/changes-report.html + +For complete information on Apache Commons Statistics, including instructions on how to submit bug +reports, patches, or suggestions for improvement, see the Apache Commons Statistics website: + +https://commons.apache.org/proper/commons-statistics/ + +Download page: https://commons.apache.org/proper/commons-statistics/download_statistics.cgi + +Have fun! +-Apache Commons Team diff --git a/src/site/xdoc/download_statistics.xml b/src/site/xdoc/download_statistics.xml index 2e63998..bf5bb65 100644 --- a/src/site/xdoc/download_statistics.xml +++ b/src/site/xdoc/download_statistics.xml @@ -26,25 +26,24 @@ limitations under the License. | commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates | +======================================================================+ | | - | 1) Re-generate using: mvn commons:download-page | - - Do NOT re-generate before an actual release can be downloaded. - + | 1) Re-generate using: mvn commons-build:download-page | | | | 2) Set the following properties in the component's pom: | - | - commons.componentid (required, alphabetic, lower case) | + | - commons.componentid (required, alphabetic, lower case) | | - commons.release.version (required) | | - commons.release.name (required) | | - commons.binary.suffix (optional) | | (defaults to "-bin", set to "" for pre-maven2 releases) | | - commons.release.desc (optional) | | - commons.release.subdir (optional) | + | - commons.release.hash (optional, lowercase, default sha512) | | | - | - commons.release.2/3.version (conditional) | - | - commons.release.2/3.name (conditional) | - | - commons.release.2/3.binary.suffix (optional) | - | - commons.release.2/3.desc (optional) | - | - commons.release.2/3.subdir (optional) | + | - commons.release.[234].version (conditional) | + | - commons.release.[234].name (conditional) | + | - commons.release.[234].binary.suffix (optional) | + | - commons.release.[234].desc (optional) | + | - commons.release.[234].subdir (optional) | + | - commons.release.[234].hash (optional, lowercase, [sha512])| | | | 3) Example Properties | | (commons.release.name inherited by parent: | @@ -64,10 +63,94 @@ limitations under the License. </properties> <body> <section name="Download Apache Commons Statistics"> + <subsection name="Using a Mirror"> <p> - "Commons Statistics" is a new component split off "Commons Math". - There is no release yet. Come and help to make it happen! + We recommend you use a mirror to download our release + builds, but you <strong>must</strong> <a href="https://www.apache.org/info/verification.html">verify the integrity</a> of + the downloaded files using signatures downloaded from our main + distribution directories. Recent releases (48 hours) may not yet + be available from all the mirrors. </p> + + <p> + You are currently using <b>[preferred]</b>. If you + encounter a problem with this mirror, please select another + mirror. If all mirrors are failing, there are <i>backup</i> + mirrors (at the end of the mirrors list) that should be + available. + <br></br> + [if-any logo]<a href="[link]"><img align="right" src="[logo]" border="0"></img></a>[end] + </p> + + <form action="[location]" method="get" id="SelectMirror"> + <p> + Other mirrors: + <select name="Preferred"> + [if-any http] + [for http]<option value="[http]">[http]</option>[end] + [end] + [if-any ftp] + [for ftp]<option value="[ftp]">[ftp]</option>[end] + [end] + [if-any backup] + [for backup]<option value="[backup]">[backup] (backup)</option>[end] + [end] + </select> + <input type="submit" value="Change"></input> + </p> + </form> + + <p> + It is essential that you + <a href="https://www.apache.org/info/verification.html">verify the integrity</a> + of downloaded files, preferably using the <code>PGP</code> signature (<code>*.asc</code> files); + failing that using the <code>SHA512</code> hash (<code>*.sha512</code> checksum files). + </p> + <p> + The <a href="https://www.apache.org/dist/commons/KEYS">KEYS</a> + file contains the public PGP keys used by Apache Commons developers + to sign releases. + </p> + </subsection> + </section> + <section name="Apache Commons Statistics 1.0 (requires Java 8)"> + <subsection name="Binaries"> + <table> + <tr> + <td><a href="[preferred]/commons/statistics/binaries/commons-statistics-1.0-bin.tar.gz">commons-statistics-1.0-bin.tar.gz</a></td> + <td><a href="https://www.apache.org/dist/commons/statistics/binaries/commons-statistics-1.0-bin.tar.gz.sha512">sha512</a></td> + <td><a href="https://www.apache.org/dist/commons/statistics/binaries/commons-statistics-1.0-bin.tar.gz.asc">pgp</a></td> + </tr> + <tr> + <td><a href="[preferred]/commons/statistics/binaries/commons-statistics-1.0-bin.zip">commons-statistics-1.0-bin.zip</a></td> + <td><a href="https://www.apache.org/dist/commons/statistics/binaries/commons-statistics-1.0-bin.zip.sha512">sha512</a></td> + <td><a href="https://www.apache.org/dist/commons/statistics/binaries/commons-statistics-1.0-bin.zip.asc">pgp</a></td> + </tr> + </table> + </subsection> + <subsection name="Source"> + <table> + <tr> + <td><a href="[preferred]/commons/statistics/source/commons-statistics-1.0-src.tar.gz">commons-statistics-1.0-src.tar.gz</a></td> + <td><a href="https://www.apache.org/dist/commons/statistics/source/commons-statistics-1.0-src.tar.gz.sha512">sha512</a></td> + <td><a href="https://www.apache.org/dist/commons/statistics/source/commons-statistics-1.0-src.tar.gz.asc">pgp</a></td> + </tr> + <tr> + <td><a href="[preferred]/commons/statistics/source/commons-statistics-1.0-src.zip">commons-statistics-1.0-src.zip</a></td> + <td><a href="https://www.apache.org/dist/commons/statistics/source/commons-statistics-1.0-src.zip.sha512">sha512</a></td> + <td><a href="https://www.apache.org/dist/commons/statistics/source/commons-statistics-1.0-src.zip.asc">pgp</a></td> + </tr> + </table> + </subsection> + </section> + <section name="Archives"> + <p> + Older releases can be obtained from the archives. + </p> + <ul> + <li class="download"><a href="[preferred]/commons/statistics/">browse download area</a></li> + <li><a href="https://archive.apache.org/dist/commons/statistics/">archives...</a></li> + </ul> </section> </body> </document> diff --git a/src/site/xdoc/release-history.xml b/src/site/xdoc/release-history.xml new file mode 100644 index 0000000..acd7568 --- /dev/null +++ b/src/site/xdoc/release-history.xml @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> +<document> + <properties> + <title>Home</title> + <author email="d...@commons.apache.org">Commons Documentation Team</author> + </properties> + <body> + <!-- ================================================== --> + <section name="Commons Statistics Release History"> + <p><em>Note.</em> For older release javadocs see the individual artifact sub-sites.</p> + <table> + <tr><th>Version</th><th>Release date (YYYY-MM-DD)</th><th>Required Java Version</th><th>Release notes</th></tr> + <tr> + <td>1.0</td><td>2022-12-05</td><td>8+</td><td><a href="release-notes/RELEASE-NOTES-1.0.txt">Release notes for 1.0</a></td> + </tr> + </table> + + </section> + <!-- ================================================== --> + </body> +</document>