You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2022/05/29 06:40:23 UTC
[commons-rng] branch master updated (3eca60ee -> 5d64b27e)
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git
from 3eca60ee Fix working directory
new 872ea52f Add module javadoc
new 5d64b27e Run examples on JDK 17
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/maven.yml | 2 +-
.../examples-jpms/jpms-app/src/main/java/module-info.java | 5 +++++
.../examples-jpms/jpms-lib/src/main/java/module-info.java | 5 +++++
3 files changed, 11 insertions(+), 1 deletion(-)
[commons-rng] 01/02: Add module javadoc
Posted by ah...@apache.org.
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-rng.git
commit 872ea52f9d200820ce8df2d9fd078db99480e15f
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sun May 29 07:38:59 2022 +0100
Add module javadoc
---
.../examples-jpms/jpms-app/src/main/java/module-info.java | 5 +++++
.../examples-jpms/jpms-lib/src/main/java/module-info.java | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/commons-rng-examples/examples-jpms/jpms-app/src/main/java/module-info.java b/commons-rng-examples/examples-jpms/jpms-app/src/main/java/module-info.java
index 78215158..4798c2cd 100644
--- a/commons-rng-examples/examples-jpms/jpms-app/src/main/java/module-info.java
+++ b/commons-rng-examples/examples-jpms/jpms-app/src/main/java/module-info.java
@@ -14,6 +14,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
+/**
+ * This module contains an application for testing that the library
+ * can be used as a Java 9 Java Platform Module System (JPMS) module.
+ */
module org.apache.commons.rng.examples.jpms.app {
requires org.apache.commons.rng.examples.jpms.lib;
requires org.apache.commons.rng.simple;
diff --git a/commons-rng-examples/examples-jpms/jpms-lib/src/main/java/module-info.java b/commons-rng-examples/examples-jpms/jpms-lib/src/main/java/module-info.java
index 5add2ca4..2c29033a 100644
--- a/commons-rng-examples/examples-jpms/jpms-lib/src/main/java/module-info.java
+++ b/commons-rng-examples/examples-jpms/jpms-lib/src/main/java/module-info.java
@@ -14,6 +14,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
+/**
+ * This module contains code for testing that the library
+ * can be used as a Java 9 Java Platform Module System (JPMS) module.
+ */
module org.apache.commons.rng.examples.jpms.lib {
requires org.apache.commons.rng.api;
requires org.apache.commons.rng.sampling;
[commons-rng] 02/02: Run examples on JDK 17
Posted by ah...@apache.org.
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-rng.git
commit 5d64b27e0097868a3360b2fe6907afe677568258
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sun May 29 07:40:11 2022 +0100
Run examples on JDK 17
---
.github/workflows/maven.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 0154904d..1b822658 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -46,6 +46,6 @@ jobs:
run: mvn -V --no-transfer-progress
- name: Build examples with Maven
# Examples require Java 11+
- if: contains(matrix.java, '11')
+ if: contains(matrix.java, '11') || contains(matrix.java, '17')
working-directory: ./commons-rng-examples
run: mvn -V --no-transfer-progress