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:17 UTC
(commons-jcs) 01/02: Prepare rc3, add separate profile for multicast tests
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>