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 2023/06/02 17:22:42 UTC

[commons-numbers] branch master updated (7baf4504 -> 11bb83b9)

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-numbers.git


    from 7baf4504 Do not create dependency reduced pom when creating shaded jar.
     new f36d034f Remove invalid source tag for javadoc plugin
     new 10d70b89 Run Java 11+ build and javadoc generation separately
     new 11bb83b9 Bump JMH 1.35 to 1.36

The 3 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                   | 9 +++++++--
 commons-numbers-examples/examples-jmh/pom.xml | 6 +-----
 2 files changed, 8 insertions(+), 7 deletions(-)


[commons-numbers] 03/03: Bump JMH 1.35 to 1.36

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-numbers.git

commit 11bb83b93afe83d63a03aa1ec02ab38199a4b477
Author: aherbert <ah...@apache.org>
AuthorDate: Fri Jun 2 18:22:24 2023 +0100

    Bump JMH 1.35 to 1.36
---
 commons-numbers-examples/examples-jmh/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-numbers-examples/examples-jmh/pom.xml b/commons-numbers-examples/examples-jmh/pom.xml
index f515f721..09053b9a 100644
--- a/commons-numbers-examples/examples-jmh/pom.xml
+++ b/commons-numbers-examples/examples-jmh/pom.xml
@@ -101,7 +101,7 @@
     <exec-maven-plugin.version>3.0.0</exec-maven-plugin.version>
 
     <!-- JMH Benchmark related properties: version, name of the benchmarking uber jar. -->
-    <jmh.version>1.35</jmh.version>
+    <jmh.version>1.36</jmh.version>
     <uberjar.name>examples-jmh</uberjar.name>
     <project.mainClass>org.openjdk.jmh.Main</project.mainClass>
     <!-- Disable analysis for benchmarking code. -->


[commons-numbers] 01/03: Remove invalid source tag for javadoc plugin

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-numbers.git

commit f36d034fe5383e597cfe6f0bd967d8298101bea6
Author: aherbert <ah...@apache.org>
AuthorDate: Fri Jun 2 18:04:49 2023 +0100

    Remove invalid source tag for javadoc plugin
---
 commons-numbers-examples/examples-jmh/pom.xml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/commons-numbers-examples/examples-jmh/pom.xml b/commons-numbers-examples/examples-jmh/pom.xml
index 026f1986..f515f721 100644
--- a/commons-numbers-examples/examples-jmh/pom.xml
+++ b/commons-numbers-examples/examples-jmh/pom.xml
@@ -119,8 +119,6 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
-          <!-- Set source to JDK 8 to prevent issues with lack of module information. -->
-          <source>1.8</source>
           <sourceFileExcludes>
             <sourceFileExclude>**/jmh_generated/*.java</sourceFileExclude>
           </sourceFileExcludes>
@@ -144,8 +142,6 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
-          <!-- Set source to JDK 8 to prevent issues with lack of module information. -->
-          <source>1.8</source>
           <sourceFileExcludes>
             <sourceFileExclude>**/jmh_generated/*.java</sourceFileExclude>
           </sourceFileExcludes>


[commons-numbers] 02/03: Run Java 11+ build and javadoc generation separately

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-numbers.git

commit 10d70b8902c301c18a08fa318d41d57e3ad8164c
Author: aherbert <ah...@apache.org>
AuthorDate: Fri Jun 2 18:21:58 2023 +0100

    Run Java 11+ build and javadoc generation separately
---
 .github/workflows/maven.yml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 3b779d41..b460a8a8 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -43,6 +43,11 @@ jobs:
       if: matrix.java == 8
       run: mvn -V --no-transfer-progress
     - name: Build with Maven including examples
-      # Examples require Java 11+
+      # Examples require Java 11+.
+      # Building javadoc errors when run with the package phase with an error about
+      # the module path and the unamed module (despite using an automatic module name).
+      # Here we run the build and javadoc generation separately.
       if: matrix.java > 8
-      run: mvn -V --no-transfer-progress -P commons-numbers-examples
+      run: |
+        mvn -V --no-transfer-progress -P commons-numbers-examples -Dmaven.javadoc.skip
+        mvn -P commons-numbers-examples javadoc:javadoc