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/04/27 09:24:05 UTC

[commons-statistics] branch master updated: Update to CP 57

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


The following commit(s) were added to refs/heads/master by this push:
     new 32d2768  Update to CP 57
32d2768 is described below

commit 32d276825eaa03724abe2d95d8ca32c384e54ab5
Author: aherbert <ah...@apache.org>
AuthorDate: Thu Apr 27 10:23:41 2023 +0100

    Update to CP 57
    
    Remove profile for compiler target on JDK 9+ (as this is now in CP)
---
 pom.xml | 24 +-----------------------
 1 file changed, 1 insertion(+), 23 deletions(-)

diff --git a/pom.xml b/pom.xml
index c8816d7..9c87493 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,7 +19,7 @@
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-parent</artifactId>
-    <version>56</version>
+    <version>57</version>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
@@ -116,10 +116,6 @@
     <commons.jacoco.methodRatio>1.00</commons.jacoco.methodRatio>
     <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
 
-    <!-- Tempory use of versions in CP 57 -->
-    <commons.pmd.version>3.20.0</commons.pmd.version>
-    <commons.pmd-impl.version>6.55.0</commons.pmd-impl.version>
-
     <commons.site.path>statistics</commons.site.path>
     <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-statistics</commons.scmPubUrl>
     <commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
@@ -459,24 +455,6 @@
   </reporting>
 
   <profiles>
-    <profile>
-      <id>compiler-release-property</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <properties>
-        <!--
-          The "release" compiler property (available in JDK 9+) must be set in order to generate
-          binary-compatible artifacts for the target JVM. This flag sets the version of the platform
-          APIs to compile against, which is necessary when building with a later JDK but targeting
-          an earlier one. For example, use of the method reference new SplittableRandom()::nextInt
-          must target the method in SplittableRandom and not java.util.random.RandomGenerator
-          (added in JDK 17). If the release property is not set when compiling for Java 8, then the
-          Java 17 method will be referenced in the bytecode, causing a runtime error when running on 8.
-        -->
-        <maven.compiler.release>${jvm.target}</maven.compiler.release>
-      </properties>
-    </profile>
     <profile>
       <!-- Override a parent property if the SVN site checkout should not be performed.
            This should activate for child modules. -->