This is an automated email from the ASF dual-hosted git repository.

Bukama pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jarsigner-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 87194f6  Update parent to 48, Maven to 3.9.15 (#137)
87194f6 is described below

commit 87194f6797dacd1448f85d37a637dd2cfe90ab84
Author: Matthias Bünger <[email protected]>
AuthorDate: Tue May 12 05:25:21 2026 +0200

    Update parent to 48, Maven to 3.9.15 (#137)
---
 pom.xml                                            |  4 +--
 .../maven/plugins/jarsigner/RequestMatchers.java   | 34 +++++++++++++---------
 2 files changed, 23 insertions(+), 15 deletions(-)

diff --git a/pom.xml b/pom.xml
index dbbdda0..09994d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@ under the License.
   <parent>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-plugins</artifactId>
-    <version>47</version>
+    <version>48</version>
     <relativePath />
   </parent>
 
@@ -69,7 +69,7 @@ under the License.
   </distributionManagement>
 
   <properties>
-    <mavenVersion>3.9.12</mavenVersion>
+    <mavenVersion>3.9.15</mavenVersion>
     <jacocoVersion>0.8.14</jacocoVersion>
     
<project.build.outputTimestamp>2024-09-03T16:36:13Z</project.build.outputTimestamp>
   </properties>
diff --git 
a/src/test/java/org/apache/maven/plugins/jarsigner/RequestMatchers.java 
b/src/test/java/org/apache/maven/plugins/jarsigner/RequestMatchers.java
index f7993b1..be53d11 100644
--- a/src/test/java/org/apache/maven/plugins/jarsigner/RequestMatchers.java
+++ b/src/test/java/org/apache/maven/plugins/jarsigner/RequestMatchers.java
@@ -132,20 +132,23 @@ class RequestMatchers {
 
     static <T extends AbstractJarSignerRequest> TypeSafeMatcher<T> 
hasProviderArg(String providerArg) {
         return new AbstractJarSignerRequestMatcher<T>(
-                "has providerArg ", providerArg, request -> 
request.getProviderArg()
-                        .equals(providerArg));
+                "has providerArg ",
+                providerArg,
+                request -> request.getProviderArg().equals(providerArg));
     }
 
     static <T extends AbstractJarSignerRequest> TypeSafeMatcher<T> 
hasProviderClass(String providerClass) {
         return new AbstractJarSignerRequestMatcher<T>(
-                "has providerClass ", providerClass, request -> 
request.getProviderClass()
-                        .equals(providerClass));
+                "has providerClass ",
+                providerClass,
+                request -> request.getProviderClass().equals(providerClass));
     }
 
     static <T extends AbstractJarSignerRequest> TypeSafeMatcher<T> 
hasProviderName(String providerName) {
         return new AbstractJarSignerRequestMatcher<T>(
-                "has providerName ", providerName, request -> 
request.getProviderName()
-                        .equals(providerName));
+                "has providerName ",
+                providerName,
+                request -> request.getProviderName().equals(providerName));
     }
 
     static <T extends AbstractJarSignerRequest> TypeSafeMatcher<T> 
hasStorepass(String storepass) {
@@ -186,18 +189,23 @@ class RequestMatchers {
     }
 
     static TypeSafeMatcher<JarSignerSignRequest> hasTsaPolicyid(String 
tsapolicyid) {
-        return new JarSignerSignRequestMatcher("has tsapolicyid ", 
tsapolicyid, request -> request.getTsapolicyid()
-                .equals(tsapolicyid));
+        return new JarSignerSignRequestMatcher(
+                "has tsapolicyid ",
+                tsapolicyid,
+                request -> request.getTsapolicyid().equals(tsapolicyid));
     }
 
     static TypeSafeMatcher<JarSignerSignRequest> hasTsaDigestalg(String 
tsadigestalg) {
-        return new JarSignerSignRequestMatcher("has tsadigestalg ", 
tsadigestalg, request -> request.getTsadigestalg()
-                .equals(tsadigestalg));
+        return new JarSignerSignRequestMatcher(
+                "has tsadigestalg ",
+                tsadigestalg,
+                request -> request.getTsadigestalg().equals(tsadigestalg));
     }
 
     static TypeSafeMatcher<JarSignerSignRequest> hasCertchain(String 
certchain) {
-        return new JarSignerSignRequestMatcher("has certchain ", certchain, 
request -> request.getCertchain()
-                .getPath()
-                .equals(certchain));
+        return new JarSignerSignRequestMatcher(
+                "has certchain ",
+                certchain,
+                request -> request.getCertchain().getPath().equals(certchain));
     }
 }

Reply via email to