You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tv...@apache.org on 2024/05/26 17:30:16 UTC
(commons-jcs) branch release-3.2.1 updated (ae6d42d0 -> 5b6efe1c)
This is an automated email from the ASF dual-hosted git repository.
tv pushed a change to branch release-3.2.1
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git
from ae6d42d0 [maven-release-plugin] prepare for next development iteration
new ddcaa9ab Prepare rc3, add separate profile for multicast tests
new 5b6efe1c Prepare rc3, mention multicat test profile in release notes
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:
RELEASE-NOTES.txt | 6 +--
commons-jcs-core/pom.xml | 96 +++++++++++++++++++++++++-------------
commons-jcs-dist/pom.xml | 7 ++-
commons-jcs-jcache-extras/pom.xml | 7 ++-
commons-jcs-jcache-openjpa/pom.xml | 7 ++-
commons-jcs-jcache/pom.xml | 7 ++-
commons-jcs-tck-tests/pom.xml | 7 ++-
pom.xml | 7 ++-
src/changes/changes.xml | 2 +-
9 files changed, 85 insertions(+), 61 deletions(-)
(commons-jcs) 01/02: Prepare rc3, add separate profile for multicast tests
Posted by tv...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tv pushed a commit to branch release-3.2.1
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git
commit ddcaa9ab277a831b3975ac565f6a3dc178ccdd98
Author: Thomas Vandahl <tv...@apache.org>
AuthorDate: Sun May 26 19:20:31 2024 +0200
Prepare rc3, add separate profile for multicast tests
---
commons-jcs-core/pom.xml | 96 +++++++++++++++++++++++++-------------
commons-jcs-dist/pom.xml | 7 ++-
commons-jcs-jcache-extras/pom.xml | 7 ++-
commons-jcs-jcache-openjpa/pom.xml | 7 ++-
commons-jcs-jcache/pom.xml | 7 ++-
commons-jcs-tck-tests/pom.xml | 7 ++-
pom.xml | 7 ++-
7 files changed, 81 insertions(+), 57 deletions(-)
diff --git a/commons-jcs-core/pom.xml b/commons-jcs-core/pom.xml
index dfb36df2..0c35cab2 100644
--- a/commons-jcs-core/pom.xml
+++ b/commons-jcs-core/pom.xml
@@ -22,12 +22,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-jcs3</artifactId>
- <version>3.2.2-SNAPSHOT</version>
+ <version>3.2.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>commons-jcs3-core</artifactId>
- <version>3.2.2-SNAPSHOT</version>
+ <version>3.2.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Apache Commons JCS :: Core</name>
@@ -36,8 +36,7 @@
<connection>scm:git:http://gitbox.apache.org/repos/asf/commons-jcs.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-jcs.git</developerConnection>
<url>https://gitbox.apache.org/repos/asf?p=commons-jcs.git</url>
- <tag>commons-jcs3-3.2.1-rc2</tag>
- </scm>
+ </scm>
<properties>
<!-- generate report even if there are binary incompatible changes -->
@@ -136,9 +135,6 @@
<argLine>-Xmx256m</argLine>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
- <includes>
- <include>**/*UnitTest.java</include>
- </includes>
</configuration>
</plugin>
<plugin>
@@ -154,6 +150,25 @@
</plugins>
</pluginManagement>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>default-test</id>
+ <configuration>
+ <includes>
+ <include>**/*UnitTest.java, !UDPDiscovery*</include>
+ </includes>
+ <systemPropertyVariables>
+ <java.security.manager>true</java.security.manager>
+ <java.security.policy>${basedir}/src/test/conf/cache.policy</java.security.policy>
+ <java.util.logging.config.file>${basedir}/src/test/test-conf/logging.properties</java.util.logging.config.file>
+ </systemPropertyVariables>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
@@ -170,52 +185,67 @@
<profiles>
<profile>
- <id>testWithJUL</id>
+ <id>testWithLog4j2</id>
<activation>
- <activeByDefault>true</activeByDefault>
+ <activeByDefault>false</activeByDefault>
</activation>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <version>${commons.log4j.version}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <java.security.manager>true</java.security.manager>
- <java.security.policy>${basedir}/src/test/conf/cache.policy</java.security.policy>
- <java.util.logging.config.file>${basedir}/src/test/test-conf/logging.properties</java.util.logging.config.file>
- </systemPropertyVariables>
- </configuration>
+ <executions>
+ <execution>
+ <id>default-test</id>
+ <configuration>
+ <systemPropertyVariables>
+ <jcs.logSystem>log4j2</jcs.logSystem>
+ <log4j.configurationFile>src/test/test-conf/log4j2-test.xml</log4j.configurationFile>
+ </systemPropertyVariables>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
- <id>testWithLog4j2</id>
+ <id>testWithMulticast</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
- <dependencies>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- <version>${commons.log4j.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <java.security.manager>true</java.security.manager>
- <java.security.policy>${basedir}/src/test/conf/cache.policy</java.security.policy>
- <jcs.logSystem>log4j2</jcs.logSystem>
- <log4j.configurationFile>src/test/test-conf/log4j2-test.xml</log4j.configurationFile>
- </systemPropertyVariables>
- </configuration>
+ <executions>
+ <execution>
+ <id>multicast-test</id>
+ <phase>test</phase>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <includes>
+ <include>**/UDPDiscovery*.java</include>
+ </includes>
+ <systemPropertyVariables>
+ <java.security.manager>true</java.security.manager>
+ <java.security.policy>${basedir}/src/test/conf/cache.policy</java.security.policy>
+ <java.util.logging.config.file>${basedir}/src/test/test-conf/logging.properties</java.util.logging.config.file>
+ </systemPropertyVariables>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
diff --git a/commons-jcs-dist/pom.xml b/commons-jcs-dist/pom.xml
index e029a6a9..05f40dca 100644
--- a/commons-jcs-dist/pom.xml
+++ b/commons-jcs-dist/pom.xml
@@ -21,12 +21,12 @@
<parent>
<artifactId>commons-jcs3</artifactId>
<groupId>org.apache.commons</groupId>
- <version>3.2.2-SNAPSHOT</version>
+ <version>3.2.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>commons-jcs3-dist</artifactId>
- <version>3.2.2-SNAPSHOT</version>
+ <version>3.2.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Apache Commons JCS :: Distribution</name>
<description>Creates the Apache Commons JCS multimodule distribution.</description>
@@ -35,8 +35,7 @@
<connection>scm:git:http://gitbox.apache.org/repos/asf/commons-jcs.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-jcs.git</developerConnection>
<url>https://gitbox.apache.org/repos/asf?p=commons-jcs.git</url>
- <tag>commons-jcs3-3.2.1-rc2</tag>
- </scm>
+ </scm>
<!-- NOTE: These dependency declarations are only required to sort this project to the
end of the line in the multimodule build.
diff --git a/commons-jcs-jcache-extras/pom.xml b/commons-jcs-jcache-extras/pom.xml
index 37b92b31..f498f70d 100644
--- a/commons-jcs-jcache-extras/pom.xml
+++ b/commons-jcs-jcache-extras/pom.xml
@@ -21,20 +21,19 @@
<parent>
<artifactId>commons-jcs3</artifactId>
<groupId>org.apache.commons</groupId>
- <version>3.2.2-SNAPSHOT</version>
+ <version>3.2.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>commons-jcs3-jcache-extras</artifactId>
- <version>3.2.2-SNAPSHOT</version>
+ <version>3.2.1-SNAPSHOT</version>
<name>Apache Commons JCS :: JCache Extras</name>
<scm>
<connection>scm:git:http://gitbox.apache.org/repos/asf/commons-jcs.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-jcs.git</developerConnection>
<url>https://gitbox.apache.org/repos/asf?p=commons-jcs.git</url>
- <tag>commons-jcs3-3.2.1-rc2</tag>
- </scm>
+ </scm>
<dependencies>
<dependency>
diff --git a/commons-jcs-jcache-openjpa/pom.xml b/commons-jcs-jcache-openjpa/pom.xml
index c72614f8..c70e7b8f 100644
--- a/commons-jcs-jcache-openjpa/pom.xml
+++ b/commons-jcs-jcache-openjpa/pom.xml
@@ -21,20 +21,19 @@
<parent>
<artifactId>commons-jcs3</artifactId>
<groupId>org.apache.commons</groupId>
- <version>3.2.2-SNAPSHOT</version>
+ <version>3.2.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>commons-jcs3-jcache-openjpa</artifactId>
- <version>3.2.2-SNAPSHOT</version>
+ <version>3.2.1-SNAPSHOT</version>
<name>Apache Commons JCS :: JCache OpenJPA</name>
<scm>
<connection>scm:git:http://gitbox.apache.org/repos/asf/commons-jcs.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-jcs.git</developerConnection>
<url>https://gitbox.apache.org/repos/asf?p=commons-jcs.git</url>
- <tag>commons-jcs3-3.2.1-rc2</tag>
- </scm>
+ </scm>
<dependencies>
<dependency>
diff --git a/commons-jcs-jcache/pom.xml b/commons-jcs-jcache/pom.xml
index b8d10a56..d5cb1318 100644
--- a/commons-jcs-jcache/pom.xml
+++ b/commons-jcs-jcache/pom.xml
@@ -23,20 +23,19 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-jcs3</artifactId>
- <version>3.2.2-SNAPSHOT</version>
+ <version>3.2.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>commons-jcs3-jcache</artifactId>
- <version>3.2.2-SNAPSHOT</version>
+ <version>3.2.1-SNAPSHOT</version>
<name>Apache Commons JCS :: JCache</name>
<scm>
<connection>scm:git:http://gitbox.apache.org/repos/asf/commons-jcs.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-jcs.git</developerConnection>
<url>https://gitbox.apache.org/repos/asf?p=commons-jcs.git</url>
- <tag>commons-jcs3-3.2.1-rc2</tag>
- </scm>
+ </scm>
<dependencies>
<dependency>
diff --git a/commons-jcs-tck-tests/pom.xml b/commons-jcs-tck-tests/pom.xml
index b89c66ea..4ebab56e 100644
--- a/commons-jcs-tck-tests/pom.xml
+++ b/commons-jcs-tck-tests/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-jcs3</artifactId>
- <version>3.2.2-SNAPSHOT</version>
+ <version>3.2.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,7 +34,7 @@
-->
<artifactId>commons-jcs3-jcache-tck</artifactId>
- <version>3.2.2-SNAPSHOT</version>
+ <version>3.2.1-SNAPSHOT</version>
<name>Apache Commons JCS :: JCache TCK</name>
@@ -42,8 +42,7 @@
<connection>scm:git:http://gitbox.apache.org/repos/asf/commons-jcs.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-jcs.git</developerConnection>
<url>https://gitbox.apache.org/repos/asf?p=commons-jcs.git</url>
- <tag>commons-jcs3-3.2.1-rc2</tag>
- </scm>
+ </scm>
<properties>
diff --git a/pom.xml b/pom.xml
index 378ddf72..c2086a50 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
<artifactId>commons-jcs3</artifactId>
<packaging>pom</packaging>
- <version>3.2.2-SNAPSHOT</version>
+ <version>3.2.1-SNAPSHOT</version>
<!--
* Build with -PjcacheTck to run the JSR-107 TCK
@@ -54,8 +54,7 @@
<connection>scm:git:http://gitbox.apache.org/repos/asf/commons-jcs.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-jcs.git</developerConnection>
<url>https://gitbox.apache.org/repos/asf?p=commons-jcs.git</url>
- <tag>commons-jcs3-3.2.1-rc2</tag>
- </scm>
+ </scm>
<mailingLists>
<mailingList>
@@ -557,7 +556,7 @@
<commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl>
<!-- The RC version used in the staging repository URL. -->
<commons.bc.version>3.2</commons.bc.version>
- <commons.rc.version>rc2</commons.rc.version>
+ <commons.rc.version>rc3</commons.rc.version>
<commons.jira.id>JCS</commons.jira.id>
<commons.site.path>commons-jcs</commons.site.path>
<commons.scmPubUrl>
(commons-jcs) 02/02: Prepare rc3, mention multicat test profile in release notes
Posted by tv...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tv pushed a commit to branch release-3.2.1
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git
commit 5b6efe1cb947466a0e98b335612692e0d9bf39dd
Author: Thomas Vandahl <tv...@apache.org>
AuthorDate: Sun May 26 19:30:04 2024 +0200
Prepare rc3, mention multicat test profile in release notes
---
RELEASE-NOTES.txt | 6 +++---
src/changes/changes.xml | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index ad6a8834..076a9ca3 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -33,9 +33,9 @@ For the advice on upgrading from 2.x to 3.x, see the following page:
http://commons.apache.org/proper/commons-jcs/UpgradingFrom2x.html
-NOTE: Some JCS tests require a working multicast setup. If you get test failures from tests
-starting with UDPDiscovery*, make sure that your network supports multicast (most VPNs do not,
-for example).
+NOTE: Some JCS tests require a working multicast setup. They are disabled by default.
+If you are sure that your network configuration supports multicast (most VPNs do not,
+for example), you may enable the additional tests with "-P testWithMulticast".
JDK bug fix release
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 6a574fe3..4537fb97 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -21,7 +21,7 @@
<author email="dev@commons.apache.org">Apache Commons Developers</author>
</properties>
<body>
- <release version="3.2.1" date="2024-04-20" description="JDK bug fix release">
+ <release version="3.2.1" date="2024-05-27" description="JDK bug fix release">
<action dev="tv" type="fix">
Fix java.rmi.RemoteException: Method is not Remote in IRemoteCacheListener.
This is caused by a fix for JDK issue JDK-8230967 in various JDKs such as 8u241,