You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ro...@apache.org on 2026/06/09 23:00:32 UTC
(axis-axis2-java-rampart) branch master updated (772da3fb -> c2db725a)
This is an automated email from the ASF dual-hosted git repository.
robertlazarski pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-rampart.git
from 772da3fb Remove unverified WSS4J CVE IDs from history section
new 08fd2e33 Use released Axis2 2.0.1, fix JDK 25 build, bump dependencies
new c2db725a Address Gemini review nits: enforcer comment + failIfNoTests safety net
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:
modules/rampart-mar/pom.xml | 5 +++++
modules/rampart-testutils/pom.xml | 5 +++++
modules/rampart-trust-mar/pom.xml | 5 +++++
pom.xml | 27 +++++++++++++++++----------
4 files changed, 32 insertions(+), 10 deletions(-)
(axis-axis2-java-rampart) 02/02: Address Gemini review nits: enforcer comment + failIfNoTests safety net
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-rampart.git
commit c2db725a84503681f669447e348031c35bf05ce3
Author: Robert Lazarski <ro...@gmail.com>
AuthorDate: Tue Jun 9 12:48:21 2026 -1000
Address Gemini review nits: enforcer comment + failIfNoTests safety net
- Document why maven-enforcer requireNoRepositories uses banRepositories=false
(the Shibboleth repo is required to resolve OpenSAML, which is not on Maven
Central). Prevents a future "cleanup" from removing the needed repository.
- Make failIfNoTests a real safety net. Surefire defaults this to false, so the
previous global <failIfNoTests>false</failIfNoTests> was redundant and meant a
code module whose tests vanished would pass silently. Set the property to true
at the root and override it to false only in the modules that legitimately have
no tests of their own (rampart-testutils, rampart-mar, rampart-trust-mar).
Verified with a full clean -Papache-release verify (all 12 modules, all tests
including the 9 policy samples) on JDK 25.
Co-Authored-By: Claude Opus 4.8 (1M context) <no...@anthropic.com>
---
modules/rampart-mar/pom.xml | 5 +++++
modules/rampart-testutils/pom.xml | 5 +++++
modules/rampart-trust-mar/pom.xml | 5 +++++
pom.xml | 9 ++++++++-
4 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/modules/rampart-mar/pom.xml b/modules/rampart-mar/pom.xml
index 629f341a..99732cf6 100644
--- a/modules/rampart-mar/pom.xml
+++ b/modules/rampart-mar/pom.xml
@@ -34,6 +34,11 @@
<packaging>mar</packaging>
<name>Rampart - Mar</name>
+ <properties>
+ <!-- Packaging module: assembles the rampart.mar, has no tests of its own. -->
+ <failIfNoTests>false</failIfNoTests>
+ </properties>
+
<build>
<plugins>
<plugin>
diff --git a/modules/rampart-testutils/pom.xml b/modules/rampart-testutils/pom.xml
index 820adda6..e35d9381 100644
--- a/modules/rampart-testutils/pom.xml
+++ b/modules/rampart-testutils/pom.xml
@@ -30,6 +30,11 @@
<artifactId>rampart-testutils</artifactId>
<packaging>jar</packaging>
+ <properties>
+ <!-- This module is a test-support library with no tests of its own. -->
+ <failIfNoTests>false</failIfNoTests>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
diff --git a/modules/rampart-trust-mar/pom.xml b/modules/rampart-trust-mar/pom.xml
index 4215dd35..bf77fc41 100644
--- a/modules/rampart-trust-mar/pom.xml
+++ b/modules/rampart-trust-mar/pom.xml
@@ -35,6 +35,11 @@
<packaging>mar</packaging>
<name>Rampart - Trust-Mar</name>
+ <properties>
+ <!-- Packaging module: assembles the rahas.mar, has no tests of its own. -->
+ <failIfNoTests>false</failIfNoTests>
+ </properties>
+
<build>
<plugins>
<plugin>
diff --git a/pom.xml b/pom.xml
index 6d9d9807..aa0abeb8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -239,6 +239,10 @@
<rules>
<requireNoRepositories>
<message>The POM must not include repository definitions since non Apache repositories threaten the build stability.</message>
+ <!-- banRepositories is intentionally false: the <repositories> section
+ declares the Shibboleth repository, which is required to resolve the
+ OpenSAML artifacts (not available from Maven Central). Do not remove
+ that repository or set this to true. -->
<banRepositories>false</banRepositories>
<banPluginRepositories>true</banPluginRepositories>
<!-- We still need to allow the Apache snapshot repository -->
@@ -854,7 +858,10 @@
<bcprov.jdk18.version>1.84</bcprov.jdk18.version>
- <failIfNoTests>false</failIfNoTests>
+ <!-- Fail the build if a module expected to have tests suddenly has none
+ (tests deleted or no longer discovered). Surefire reads this property
+ natively; modules that legitimately have no tests override it to false. -->
+ <failIfNoTests>true</failIfNoTests>
<jacoco.version>0.8.15</jacoco.version>
<slf4j.version>2.0.16</slf4j.version>
(axis-axis2-java-rampart) 01/02: Use released Axis2 2.0.1, fix JDK 25 build, bump dependencies
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-rampart.git
commit 08fd2e334b9271280ae876d8313cd086e4e479ec
Author: Robert Lazarski <ro...@gmail.com>
AuthorDate: Tue Jun 9 11:52:49 2026 -1000
Use released Axis2 2.0.1, fix JDK 25 build, bump dependencies
Prepare for the Rampart 2.0.0 release.
- axis2.version 2.0.1-SNAPSHOT -> 2.0.1 (released): fixes CI failure
"Unknown packaging: mar" / axis2-mar-maven-plugin could not be
resolved, and removes the forbidden SNAPSHOT dependency from a release.
- gmavenplus groovy-all 4.0.23 -> 4.0.32: Groovy 4.0.23 predates JDK 25
and failed the Java 25 CI matrix job in rampart-dist with
"Unsupported class file major version 69".
- apache.snapshots plugin repo http:// -> https:// (modern Maven blocks
plaintext HTTP repositories).
Stable dependency upgrades:
- opensaml 5.2.1 -> 5.2.2
- bcprov/bcpkix 1.83 -> 1.84
- dropwizard metrics 4.2.38 -> 4.2.39
- jacoco 0.8.14 -> 0.8.15
- maven-dependency-plugin 3.10.0 -> 3.11.0
- maven-enforcer-plugin 3.6.2 -> 3.6.3
Verified with a full clean -Papache-release verify (all 12 modules,
all tests including the 9 policy samples) on JDK 25.
Co-Authored-By: Claude Opus 4.8 (1M context) <no...@anthropic.com>
---
pom.xml | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/pom.xml b/pom.xml
index 9784c58a..6d9d9807 100644
--- a/pom.xml
+++ b/pom.xml
@@ -184,14 +184,14 @@
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-all</artifactId>
- <version>4.0.23</version>
+ <version>4.0.32</version>
<type>pom</type>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
- <version>3.10.0</version>
+ <version>3.11.0</version>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
@@ -228,7 +228,7 @@
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
- <version>3.6.2</version>
+ <version>3.6.3</version>
<executions>
<execution>
<phase>validate</phase>
@@ -843,20 +843,20 @@
3. Re-run the full reactor plus the nine policy samples before
pushing.
-->
- <axis2.version>2.0.1-SNAPSHOT</axis2.version>
+ <axis2.version>2.0.1</axis2.version>
<axiom.version>2.0.0</axiom.version>
<wss4j.version>4.0.1</wss4j.version>
- <opensaml.version>5.2.1</opensaml.version>
+ <opensaml.version>5.2.2</opensaml.version>
<shibboleth.utilities.version>8.4.2</shibboleth.utilities.version>
- <dropwizard.metrics.version>4.2.38</dropwizard.metrics.version>
+ <dropwizard.metrics.version>4.2.39</dropwizard.metrics.version>
<cryptacular.version>1.3.0</cryptacular.version>
- <bcprov.jdk18.version>1.83</bcprov.jdk18.version>
+ <bcprov.jdk18.version>1.84</bcprov.jdk18.version>
<failIfNoTests>false</failIfNoTests>
- <jacoco.version>0.8.14</jacoco.version>
+ <jacoco.version>0.8.15</jacoco.version>
<slf4j.version>2.0.16</slf4j.version>
<log4j.version>2.25.4</log4j.version>
<!-- see the parent artifact 'apache' i.e 33, it defaults to a older version-->
@@ -866,7 +866,7 @@
<pluginRepositories>
<pluginRepository>
<id>apache.snapshots</id>
- <url>http://repository.apache.org/snapshots/</url>
+ <url>https://repository.apache.org/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>