Merge in master
diff --git a/README.md b/README.md
index 733614c..485739d 100644
--- a/README.md
+++ b/README.md
@@ -68,7 +68,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng</artifactId>
- <version>1.0</version>
+ <version>1.1</version>
</dependency>
```
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index e69de29..29ee3e2 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -0,0 +1,90 @@
+ Apache Commons RNG 1.1 RELEASE NOTES
+
+The Apache Commons RNG team is pleased to announce the commons-rng-parent-1.1 release!
+
+The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators.
+
+This is a minor release of Apache Commons RNG, containing a
+few new features and performance improvements.
+
+Apache Commons RNG 1.1 contains the following library modules:
+ commons-rng-client-api (requires Java 6)
+ commons-rng-core (requires Java 6)
+ commons-rng-simple (requires Java 6)
+ commons-rng-sampling (requires Java 6)
+
+The code in module 'commons-rng-core' should not be accessed
+directly by applications as future release might make use of
+the JPMS modularization feature available from Java 9.
+
+Additional code is provided in the following module:
+ commons-rng-examples (requires Java 9)
+It is however not part of the official API and no compatibility
+should be expected in subsequent releases.
+
+We would like to also note that commons-rng-sampling has mildly 'flaky' tests due to the
+non-deterministic nature of random number generation. For this purpose, we have set
+failing tests to be re-run in the maven-surefire-plugin. Our current guess is that
+the build process could fail somewhere in the realm of 1 - 5 in 100 runs.
+
+Changes in this version include:
+
+New features:
+o RNG-37: Implementation of the "Ziggurat" algorithm for Gaussian sampling.
+o RNG-47: "DiscreteProbabilityCollectionSampler": Sampling from a collection of items
+ with user-defined probabilities (feature ported from "Commons Math").
+o RNG-43: "LogNormalSampler" with user-defined underlying "NormalizedGaussianSampler".
+o RNG-39: "UnitSphereSampler": generate random vectors isotropically located
+ on the surface of a sphere (feature ported from "Commons Math").
+o RNG-36: "MarsagliaNormalizedGaussianSampler": Faster variation of the
+ Box-Muller algorithm.
+ This version is used within "AhrensDieterMarsagliaTsangGammaSampler"
+ "MarsagliaLogNormalSampler" and "PoissonSampler" (generated sequences
+ will thus differ from those generated by version 1.0 of the library).
+o RNG-35: New generic "GaussianSampler" based on "NormalizedGaussianSampler"
+ marker interface.
+ Implementation of "BoxMullerNormalizedGaussianSampler" deprecates
+ "BoxMullerGaussianSampler".
+
+
+Changes:
+o RNG-42: Use "ZigguratNormalizedGaussianSampler" within the library.
+o RNG-46: Following RNG-43, "BoxMullerLogNormalSampler" has been deprecated.
+ Furthermore, its base class has been removed; although it is a binary
+ incompatibility, it cannot cause any problem that were not already
+ present in code using v1.0 of the library: Calls to the base class
+ would have raised a NPE.
+
+
+For complete information on Apache Commons RNG, including instructions on how to submit bug reports,
+patches, or suggestions for improvement, see the Apache Commons RNG website:
+
+http://commons.apache.org/proper/commons-rng/
+
+-----------------------------------------------------------------------------
+
+ Apache Commons RNG 1.0 RELEASE NOTES
+
+The Apache Commons RNG team is pleased to announce the release of Apache Commons RNG 1.0
+
+The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators.
+
+This is the first release of Apache Commons RNG.
+Apache Commons RNG 1.0 contains the following modules:
+ commons-rng-client-api (requires Java 6)
+ commons-rng-core (requires Java 6)
+ commons-rng-simple (requires Java 6)
+ commons-rng-sampling (requires Java 6)
+ commons-rng-jmh (requires Java 6)
+ commons-rng-examples (requires Java 7)
+
+No changes defined in this version.
+
+For complete information on Apache Commons RNG, including instructions on how to submit bug reports,
+patches, or suggestions for improvement, see the Apache Commons RNG website:
+
+http://commons.apache.org/proper/commons-rng/
+
+
+Have fun!
+-Apache Commons RNG team
\ No newline at end of file
diff --git a/commons-rng-client-api/pom.xml b/commons-rng-client-api/pom.xml
index 9e19247..d6c4d4d 100644
--- a/commons-rng-client-api/pom.xml
+++ b/commons-rng-client-api/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Apache Commons RNG Client API</name>
<description>API for client code that uses random numbers generators.</description>
@@ -41,6 +41,7 @@
<commons.automatic.module.name>org.apache.commons.rng.api</commons.automatic.module.name>
<!-- Workaround to avoid duplicating config files. -->
<rng.parent.dir>${basedir}/..</rng.parent.dir>
+ <commons.release.isDistModule>false</commons.release.isDistModule>
</properties>
</project>
diff --git a/commons-rng-client-api/src/site/site.xml b/commons-rng-client-api/src/site/site.xml
index 8869459..780bfef 100644
--- a/commons-rng-client-api/src/site/site.xml
+++ b/commons-rng-client-api/src/site/site.xml
@@ -27,6 +27,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/rng/commons-rng-client-api/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/rng/commons-rng-client-api/javadocs/api-1.0/index.html"/>
</menu>
diff --git a/commons-rng-core/pom.xml b/commons-rng-core/pom.xml
index 8971f4e..7854ec3 100644
--- a/commons-rng-core/pom.xml
+++ b/commons-rng-core/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-core</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Apache Commons RNG Core</name>
<description>Pure Java implementations of random numbers generator algorithms.
@@ -51,7 +51,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
</dependencies>
diff --git a/commons-rng-core/src/site/site.xml b/commons-rng-core/src/site/site.xml
index a535820..2585a37 100644
--- a/commons-rng-core/src/site/site.xml
+++ b/commons-rng-core/src/site/site.xml
@@ -27,6 +27,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/rng/commons-rng-core/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/rng/commons-rng-core/javadocs/api-1.0/index.html"/>
</menu>
diff --git a/commons-rng-examples/examples-jmh/pom.xml b/commons-rng-examples/examples-jmh/pom.xml
index bf03851..22f3bd6 100644
--- a/commons-rng-examples/examples-jmh/pom.xml
+++ b/commons-rng-examples/examples-jmh/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jmh</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>JMH Benchmark</name>
<description>Code for running JMH benchmarks that assess the performance of the generators.
diff --git a/commons-rng-examples/examples-jpms/jpms-app/pom.xml b/commons-rng-examples/examples-jpms/jpms-app/pom.xml
index a8beaee..42fccdb 100644
--- a/commons-rng-examples/examples-jpms/jpms-app/pom.xml
+++ b/commons-rng-examples/examples-jpms/jpms-app/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms-app</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>JPMS module example (application)</name>
<description>Testing JPMS. Code in this module is not part of the public API.</description>
@@ -42,7 +42,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms-lib</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
</dependencies>
diff --git a/commons-rng-examples/examples-jpms/jpms-lib/pom.xml b/commons-rng-examples/examples-jpms/jpms-lib/pom.xml
index 11de063..2514ad7 100644
--- a/commons-rng-examples/examples-jpms/jpms-lib/pom.xml
+++ b/commons-rng-examples/examples-jpms/jpms-lib/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms-lib</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>JPMS module example (library)</name>
<description>Testing JPMS. Code in this module is not part of the public API.</description>
diff --git a/commons-rng-examples/examples-jpms/pom.xml b/commons-rng-examples/examples-jpms/pom.xml
index 8fc2a60..2b1451b 100644
--- a/commons-rng-examples/examples-jpms/pom.xml
+++ b/commons-rng-examples/examples-jpms/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<packaging>pom</packaging>
<name>JPMS Integration test</name>
diff --git a/commons-rng-examples/examples-quadrature/pom.xml b/commons-rng-examples/examples-quadrature/pom.xml
index ad40f0a..5b55bf8 100644
--- a/commons-rng-examples/examples-quadrature/pom.xml
+++ b/commons-rng-examples/examples-quadrature/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-quadrature</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Quadrature example</name>
<description>Application for calling external tools that perform stringent uniformity tests.
diff --git a/commons-rng-examples/examples-sampling/pom.xml b/commons-rng-examples/examples-sampling/pom.xml
index af51710..b5738f4 100644
--- a/commons-rng-examples/examples-sampling/pom.xml
+++ b/commons-rng-examples/examples-sampling/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-sampling</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Sampling example</name>
<description>Application for calling external tools that perform stringent uniformity tests.
diff --git a/commons-rng-examples/examples-stress/pom.xml b/commons-rng-examples/examples-stress/pom.xml
index 25d3f07..2c41ba7 100644
--- a/commons-rng-examples/examples-stress/pom.xml
+++ b/commons-rng-examples/examples-stress/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-stress</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Stress test example</name>
<description>Application for calling external tools that perform stringent uniformity tests.
diff --git a/commons-rng-examples/pom.xml b/commons-rng-examples/pom.xml
index 9fbb272..6dfa058 100644
--- a/commons-rng-examples/pom.xml
+++ b/commons-rng-examples/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<packaging>pom</packaging>
<name>Apache Commons RNG Examples</name>
@@ -55,19 +55,19 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-sampling</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
</dependencies>
</dependencyManagement>
diff --git a/commons-rng-sampling/pom.xml b/commons-rng-sampling/pom.xml
index 66d2f48..6d0a80a 100644
--- a/commons-rng-sampling/pom.xml
+++ b/commons-rng-sampling/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-sampling</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Apache Commons RNG Sampling</name>
<description>The Apache Commons RNG Sampling module provides samplers
@@ -48,13 +48,13 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<scope>test</scope>
</dependency>
@@ -72,7 +72,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<configuration>
- <rerunFailingTestsCount>1</rerunFailingTestsCount>
+ <rerunFailingTestsCount>4</rerunFailingTestsCount>
</configuration>
</plugin>
</plugins>
diff --git a/commons-rng-sampling/src/site/site.xml b/commons-rng-sampling/src/site/site.xml
index 5fac238..16589a8 100644
--- a/commons-rng-sampling/src/site/site.xml
+++ b/commons-rng-sampling/src/site/site.xml
@@ -27,6 +27,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/rng/commons-rng-sampling/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/rng/commons-rng-sampling/javadocs/api-1.0/index.html"/>
</menu>
diff --git a/commons-rng-simple/pom.xml b/commons-rng-simple/pom.xml
index 6d47e08..aa6350c 100644
--- a/commons-rng-simple/pom.xml
+++ b/commons-rng-simple/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Apache Commons RNG Simple</name>
<description>Simple API for instantiating random numbers generators.</description>
@@ -48,7 +48,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-core</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
</dependencies>
diff --git a/commons-rng-simple/src/site/site.xml b/commons-rng-simple/src/site/site.xml
index d8a7d3c..bce8bfd 100644
--- a/commons-rng-simple/src/site/site.xml
+++ b/commons-rng-simple/src/site/site.xml
@@ -27,6 +27,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/rng/commons-rng-simple/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/rng/commons-rng-simple/javadocs/api-1.0/index.html"/>
</menu>
diff --git a/dist-archive/pom.xml b/dist-archive/pom.xml
index f559524..757d7d2 100644
--- a/dist-archive/pom.xml
+++ b/dist-archive/pom.xml
@@ -25,133 +25,30 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<packaging>pom</packaging>
<name>Apache Commons RNG (full distribution)</name>
<description>This module creates the Apache Commons RNG distribution.</description>
- <dependencies>
+ <properties>
+ <checkstyle.skip>true</checkstyle.skip>
+ <animal.sniffer.skip>true</animal.sniffer.skip>
+ <!-- Commons Release Plugin -->
+ <commons.bc.version>1.0</commons.bc.version>
+ <commons.release.isDistModule>true</commons.release.isDistModule>
+ <commons.siteOutputDirectory>${basedir}/../target/site</commons.siteOutputDirectory>
+ <commons.releaseNotesLocation>${basedir}/../RELEASE-NOTES.txt</commons.releaseNotesLocation>
+ <commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl>
+ <commons.releaseManagerName>Rob Tompkins</commons.releaseManagerName>
+ <commons.releaseManagerKey>B6E73D84EA4FCC47166087253FAAD2CD5ECBB314</commons.releaseManagerKey>
+ </properties>
- <!-- Module: Client API -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-client-api</artifactId>
- <version>1.1-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-client-api</artifactId>
- <version>1.1-SNAPSHOT</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-client-api</artifactId>
- <version>1.1-SNAPSHOT</version>
- <classifier>javadoc</classifier>
- </dependency>
- <!-- Module: Core -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-core</artifactId>
- <version>1.1-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-core</artifactId>
- <version>1.1-SNAPSHOT</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-core</artifactId>
- <version>1.1-SNAPSHOT</version>
- <classifier>javadoc</classifier>
- </dependency>
-
- <!-- Module: Simple -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-simple</artifactId>
- <version>1.1-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-simple</artifactId>
- <version>1.1-SNAPSHOT</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-simple</artifactId>
- <version>1.1-SNAPSHOT</version>
- <classifier>javadoc</classifier>
- </dependency>
-
- <!-- Module: Sampling -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-sampling</artifactId>
- <version>1.1-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-sampling</artifactId>
- <version>1.1-SNAPSHOT</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-sampling</artifactId>
- <version>1.1-SNAPSHOT</version>
- <classifier>javadoc</classifier>
- </dependency>
-
- <!-- Module: JMH -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-jmh</artifactId>
- <version>1.1-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-jmh</artifactId>
- <version>1.1-SNAPSHOT</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-jmh</artifactId>
- <version>1.1-SNAPSHOT</version>
- <classifier>javadoc</classifier>
- </dependency>
-
- <!-- Module: Examples -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
- <classifier>javadoc</classifier>
- </dependency>
-
- </dependencies>
<build>
<plugins>
@@ -168,11 +65,217 @@
<profile>
<id>release</id>
+ <dependencies>
+
+ <!-- Module: Client API -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-client-api</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-client-api</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-client-api</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Core -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-core</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-core</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-core</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Simple -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-simple</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-simple</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-simple</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Sampling -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-sampling</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-sampling</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-sampling</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Examples - JMH -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jmh</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jmh</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jmh</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Examples - JPMS -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-app</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-app</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-app</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-lib</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-lib</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-lib</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Examples - Quadrature -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-quadrature</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-quadrature</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-quadrature</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Examples - Sampling -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-sampling</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-sampling</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-sampling</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Examples - Stress -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-stress</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-stress</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-stress</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ </dependencies>
<build>
<plugins>
<plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>get-dependencies</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
+ <configuration>
+ <skipAssembly>false</skipAssembly>
+ </configuration>
<executions>
<execution>
<id>create-distribution</id>
@@ -181,6 +284,7 @@
<goal>single</goal>
</goals>
<configuration>
+ <skipAssembly>false</skipAssembly>
<descriptors>
<descriptor>src/assembly/bin.xml</descriptor>
<descriptor>src/assembly/src.xml</descriptor>
diff --git a/dist-archive/src/assembly/bin.xml b/dist-archive/src/assembly/bin.xml
index 7927455..5561518 100644
--- a/dist-archive/src/assembly/bin.xml
+++ b/dist-archive/src/assembly/bin.xml
@@ -38,5 +38,18 @@
<include>RELEASE-NOTES.txt</include>
</includes>
</fileSet>
+ <fileSet>
+ <directory>${project.basedir}/target/dependency</directory>
+ <outputDirectory></outputDirectory>
+ <includes>
+ <include>commons-rng*.jar</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${project.basedir}/../target/site</directory>
+ <outputDirectory>docs</outputDirectory>
+ <excludes>
+ </excludes>
+ </fileSet>
</fileSets>
</assembly>
diff --git a/dist-archive/src/assembly/src.xml b/dist-archive/src/assembly/src.xml
index cf75fed..cf7eb5a 100644
--- a/dist-archive/src/assembly/src.xml
+++ b/dist-archive/src/assembly/src.xml
@@ -23,12 +23,11 @@
<baseDirectory>${project.artifactId}-${project.version}-src</baseDirectory>
<fileSets>
<fileSet>
- <directory>${project.basedir}/..</directory>
+ <directory>../</directory>
<excludes>
- <exclude>${project.build.directory}/**</exclude>
- <exclude>.*/**</exclude>
- <exclude>**/${project.build.directory}/**</exclude>
- <exclude>**/.*/**</exclude>
+ <exclude>**/.git/**</exclude>
+ <exclude>**/site-content/**</exclude>
+ <exclude>**/target/**</exclude>
</excludes>
</fileSet>
</fileSets>
diff --git a/pom.xml b/pom.xml
index b801b16..adcefda 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
<packaging>pom</packaging>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Apache Commons RNG</name>
<inceptionYear>2016</inceptionYear>
@@ -89,9 +89,9 @@
<!-- Java 9+ -->
<commons.automatic.module.name>org.apache.commons.rng.parent</commons.automatic.module.name>
<!-- do not use snapshot suffix here -->
- <commons.release.version>1.0</commons.release.version>
+ <commons.release.version>1.1</commons.release.version>
+ <commons.rc.version>RC5</commons.rc.version>
<commons.release.desc>(requires Java 6+)</commons.release.desc>
- <!-- <commons.rc.version>RC1</commons.rc.version> -->
<commons.binary.suffix>-bin</commons.binary.suffix>
<commons.jira.id>RNG</commons.jira.id>
@@ -180,17 +180,6 @@
</configuration>
</plugin>
<plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/src.xml</descriptor>
- <descriptor>src/assembly/bin.xml</descriptor>
- </descriptors>
- <!-- There are a lot of long file names. Suppress the warnings. -->
- <tarLongFileMode>gnu</tarLongFileMode>
- </configuration>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<configuration>
@@ -232,6 +221,9 @@
<!-- version 0.8 of apache-rat-plugin does not exclude properly
some default development tools files (see RAT-126) -->
<exclude>.ekstazi/**</exclude>
+ <exclude>**/site-content/**</exclude>
+ <exclude>**/target/**</exclude>
+ <exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude>
<exclude>src/site/resources/txt/userguide/stress/dh/**</exclude>
<exclude>src/site/resources/txt/userguide/stress/tu/**</exclude>
<exclude>dist-archive/**</exclude>
@@ -249,6 +241,13 @@
<!-- <aggregate>true</aggregate> -->
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.4</version>
+ <configuration>
+ <skipAssembly>true</skipAssembly>
+ </configuration>
+ </plugin>
</plugins>
<pluginManagement>
@@ -576,10 +575,27 @@
<profile>
<id>commons-rng-examples</id>
<modules>
+ <module>commons-rng-client-api</module>
+ <module>commons-rng-core</module>
+ <module>commons-rng-simple</module>
+ <module>commons-rng-sampling</module>
<module>commons-rng-examples</module>
</modules>
</profile>
+
+ <profile>
+ <id>release</id>
+ <modules>
+ <module>commons-rng-client-api</module>
+ <module>commons-rng-core</module>
+ <module>commons-rng-simple</module>
+ <module>commons-rng-sampling</module>
+ <module>commons-rng-examples</module>
+ <module>dist-archive</module>
+ </modules>
+ </profile>
+
</profiles>
<modules>
diff --git a/src/assembly/bin.xml b/src/assembly/bin.xml
index a5ff153..2152395 100644
--- a/src/assembly/bin.xml
+++ b/src/assembly/bin.xml
@@ -1,45 +1,52 @@
-<?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
+ 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
+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.
+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.
-->
-
<assembly>
<id>bin</id>
<formats>
<format>tar.gz</format>
<format>zip</format>
</formats>
+ <baseDirectory>${project.artifactId}-${project.version}</baseDirectory>
<includeSiteDirectory>false</includeSiteDirectory>
+ <dependencySets>
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <useTransitiveDependencies>false</useTransitiveDependencies>
+ </dependencySet>
+ </dependencySets>
+
<fileSets>
<fileSet>
+ <directory>${project.basedir}/..</directory>
<includes>
- <include>LICENSE*</include>
- <include>NOTICE*</include>
+ <include>LICENSE.txt</include>
+ <include>NOTICE.txt</include>
<include>RELEASE-NOTES.txt</include>
</includes>
</fileSet>
<fileSet>
- <directory>target</directory>
+ <directory>${project.basedir}/target/dependency</directory>
<outputDirectory></outputDirectory>
<includes>
- <include>*.jar</include>
+ <include>commons-rng*.jar</include>
</includes>
</fileSet>
<fileSet>
- <directory>target/site</directory>
+ <directory>${project.basedir}../target/site</directory>
<outputDirectory>docs</outputDirectory>
<excludes>
</excludes>
diff --git a/src/assembly/src.xml b/src/assembly/src.xml
index a78f24f..cf75fed 100644
--- a/src/assembly/src.xml
+++ b/src/assembly/src.xml
@@ -1,19 +1,18 @@
-<?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
+ 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
+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.
+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.
-->
<assembly>
<id>src</id>
@@ -21,21 +20,16 @@
<format>tar.gz</format>
<format>zip</format>
</formats>
- <baseDirectory>
- ${project.artifactId}-${commons.release.version}-src
- </baseDirectory>
+ <baseDirectory>${project.artifactId}-${project.version}-src</baseDirectory>
<fileSets>
<fileSet>
- <includes>
- <include>*.txt</include>
- <include>*.xml</include>
- </includes>
- </fileSet>
- <fileSet>
- <directory>src</directory>
+ <directory>${project.basedir}/..</directory>
<excludes>
+ <exclude>${project.build.directory}/**</exclude>
+ <exclude>.*/**</exclude>
+ <exclude>**/${project.build.directory}/**</exclude>
+ <exclude>**/.*/**</exclude>
</excludes>
</fileSet>
</fileSets>
</assembly>
-
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 262d7f6..8fba90c 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -51,29 +51,7 @@
</properties>
<body>
-
- <release version="1.2" date="TBD" description="
-This is a minor release of Apache Commons RNG, containing a
-few new features and performance improvements.
-
-Apache Commons RNG 1.2 contains the following library modules:
- commons-rng-client-api (requires Java 6)
- commons-rng-core (requires Java 6)
- commons-rng-simple (requires Java 6)
- commons-rng-sampling (requires Java 6)
-
-The code in module 'commons-rng-core' should not be accessed
-directly by applications as a future release might make use of
-the JPMS modularization feature available in Java 9+.
-
-Additional code is provided in the following module:
- commons-rng-examples (requires Java 9)
-It is however not part of the official API and no compatibility
-should be expected in subsequent releases.
-">
- </release>
-
- <release version="1.1" date="2018-08-05" description="
+ <release version="1.1" date="2018-08-06" description="
This is a minor release of Apache Commons RNG, containing a
few new features and performance improvements.
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..bec7c44
--- /dev/null
+++ b/src/site/resources/release-notes/RELEASE-NOTES-1.0.txt
@@ -0,0 +1,22 @@
+
+ Apache Commons RNG 1.0 RELEASE NOTES
+
+The Apache Commons RNG team is pleased to announce the release of Apache Commons RNG 1.0
+
+The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators.
+
+This is the first release of Apache Commons RNG.
+Apache Commons RNG 1.0 contains the following modules:
+ commons-rng-client-api (requires Java 6)
+ commons-rng-core (requires Java 6)
+ commons-rng-simple (requires Java 6)
+ commons-rng-sampling (requires Java 6)
+ commons-rng-jmh (requires Java 6)
+ commons-rng-examples (requires Java 7)
+
+No changes defined in this version.
+
+For complete information on Apache Commons RNG, including instructions on how to submit bug reports,
+patches, or suggestions for improvement, see the Apache Commons RNG website:
+
+http://commons.apache.org/proper/commons-rng/
diff --git a/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt b/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
new file mode 100644
index 0000000..29ee3e2
--- /dev/null
+++ b/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
@@ -0,0 +1,90 @@
+ Apache Commons RNG 1.1 RELEASE NOTES
+
+The Apache Commons RNG team is pleased to announce the commons-rng-parent-1.1 release!
+
+The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators.
+
+This is a minor release of Apache Commons RNG, containing a
+few new features and performance improvements.
+
+Apache Commons RNG 1.1 contains the following library modules:
+ commons-rng-client-api (requires Java 6)
+ commons-rng-core (requires Java 6)
+ commons-rng-simple (requires Java 6)
+ commons-rng-sampling (requires Java 6)
+
+The code in module 'commons-rng-core' should not be accessed
+directly by applications as future release might make use of
+the JPMS modularization feature available from Java 9.
+
+Additional code is provided in the following module:
+ commons-rng-examples (requires Java 9)
+It is however not part of the official API and no compatibility
+should be expected in subsequent releases.
+
+We would like to also note that commons-rng-sampling has mildly 'flaky' tests due to the
+non-deterministic nature of random number generation. For this purpose, we have set
+failing tests to be re-run in the maven-surefire-plugin. Our current guess is that
+the build process could fail somewhere in the realm of 1 - 5 in 100 runs.
+
+Changes in this version include:
+
+New features:
+o RNG-37: Implementation of the "Ziggurat" algorithm for Gaussian sampling.
+o RNG-47: "DiscreteProbabilityCollectionSampler": Sampling from a collection of items
+ with user-defined probabilities (feature ported from "Commons Math").
+o RNG-43: "LogNormalSampler" with user-defined underlying "NormalizedGaussianSampler".
+o RNG-39: "UnitSphereSampler": generate random vectors isotropically located
+ on the surface of a sphere (feature ported from "Commons Math").
+o RNG-36: "MarsagliaNormalizedGaussianSampler": Faster variation of the
+ Box-Muller algorithm.
+ This version is used within "AhrensDieterMarsagliaTsangGammaSampler"
+ "MarsagliaLogNormalSampler" and "PoissonSampler" (generated sequences
+ will thus differ from those generated by version 1.0 of the library).
+o RNG-35: New generic "GaussianSampler" based on "NormalizedGaussianSampler"
+ marker interface.
+ Implementation of "BoxMullerNormalizedGaussianSampler" deprecates
+ "BoxMullerGaussianSampler".
+
+
+Changes:
+o RNG-42: Use "ZigguratNormalizedGaussianSampler" within the library.
+o RNG-46: Following RNG-43, "BoxMullerLogNormalSampler" has been deprecated.
+ Furthermore, its base class has been removed; although it is a binary
+ incompatibility, it cannot cause any problem that were not already
+ present in code using v1.0 of the library: Calls to the base class
+ would have raised a NPE.
+
+
+For complete information on Apache Commons RNG, including instructions on how to submit bug reports,
+patches, or suggestions for improvement, see the Apache Commons RNG website:
+
+http://commons.apache.org/proper/commons-rng/
+
+-----------------------------------------------------------------------------
+
+ Apache Commons RNG 1.0 RELEASE NOTES
+
+The Apache Commons RNG team is pleased to announce the release of Apache Commons RNG 1.0
+
+The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators.
+
+This is the first release of Apache Commons RNG.
+Apache Commons RNG 1.0 contains the following modules:
+ commons-rng-client-api (requires Java 6)
+ commons-rng-core (requires Java 6)
+ commons-rng-simple (requires Java 6)
+ commons-rng-sampling (requires Java 6)
+ commons-rng-jmh (requires Java 6)
+ commons-rng-examples (requires Java 7)
+
+No changes defined in this version.
+
+For complete information on Apache Commons RNG, including instructions on how to submit bug reports,
+patches, or suggestions for improvement, see the Apache Commons RNG website:
+
+http://commons.apache.org/proper/commons-rng/
+
+
+Have fun!
+-Apache Commons RNG team
\ No newline at end of file
diff --git a/src/site/site.xml b/src/site/site.xml
index 61df18d..1027428 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -32,6 +32,7 @@
<!-- <item name="Wiki" -->
<!-- href="http://wiki.apache.org/commons/RNG"/> -->
<item name="Developers Guide" href="/developers.html"/>
+ <item name="Release History" href="/release-history.html" />
</menu>
<menu name="User Guide">
diff --git a/src/site/xdoc/download_rng.xml b/src/site/xdoc/download_rng.xml
index e8890a0..32e52bc 100644
--- a/src/site/xdoc/download_rng.xml
+++ b/src/site/xdoc/download_rng.xml
@@ -102,7 +102,7 @@
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>MD5</code> hash (<code>*.md5</code> checksum files).
+ failing that using the <code>SHA256</code> hash (<code>*.SHA256</code> checksum files).
</p>
<p>
The <a href="https://www.apache.org/dist/commons/KEYS">KEYS</a>
@@ -111,32 +111,32 @@
</p>
</subsection>
</section>
- <section name="Apache Commons RNG 1.0 (requires Java 6+)">
+ <section name="Apache Commons RNG 1.1 (requires Java 6+)">
<subsection name="Binaries">
<table>
<tr>
- <td><a href="[preferred]/commons/rng/binaries/commons-rng-1.0-bin.tar.gz">commons-rng-1.0-bin.tar.gz</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.0-bin.tar.gz.md5">md5</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.0-bin.tar.gz.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/rng/binaries/commons-rng-1.1-bin.tar.gz">commons-rng-1.1-bin.tar.gz</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.1-bin.tar.gz.sha256">sha256</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.1-bin.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a href="[preferred]/commons/rng/binaries/commons-rng-1.0-bin.zip">commons-rng-1.0-bin.zip</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.0-bin.zip.md5">md5</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.0-bin.zip.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/rng/binaries/commons-rng-1.1-bin.zip">commons-rng-1.1-bin.zip</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.1-bin.zip.sha256">sha256</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.1-bin.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
<subsection name="Source">
<table>
<tr>
- <td><a href="[preferred]/commons/rng/source/commons-rng-1.0-src.tar.gz">commons-rng-1.0-src.tar.gz</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.0-src.tar.gz.md5">md5</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.0-src.tar.gz.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/rng/source/commons-rng-1.1-src.tar.gz">commons-rng-1.1-src.tar.gz</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.1-src.tar.gz.sha256">sha256</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.1-src.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a href="[preferred]/commons/rng/source/commons-rng-1.0-src.zip">commons-rng-1.0-src.zip</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.0-src.zip.md5">md5</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.0-src.zip.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/rng/source/commons-rng-1.1-src.zip">commons-rng-1.1-src.zip</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.1-src.zip.sha256">sha256</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.1-src.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
diff --git a/src/site/xdoc/release-history.xml b/src/site/xdoc/release-history.xml
new file mode 100644
index 0000000..884c885
--- /dev/null
+++ b/src/site/xdoc/release-history.xml
@@ -0,0 +1,38 @@
+<?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="dev@commons.apache.org">Commons Documentation Team</author>
+ </properties>
+ <body>
+ <!-- ================================================== -->
+ <section name="Commons Text Release History">
+ <p><em>Note.</em> For older javadocs see the individal 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.1</td><td>2018-07-17</td><td>6+</td><td><a href="release-notes/RELEASE-NOTES-1.1.txt">release notes for 1.1</a></td>
+ </tr>
+ <tr>
+ <td>1.0</td><td>2016-12-13</td><td>6+</td><td><a href="release-notes/RELEASE-NOTES-1.0.txt">release notes for 1.0</a></td>
+ </tr>
+ </table>
+
+ </section>
+ <!-- ================================================== -->
+ </body>
+</document>
\ No newline at end of file