[java-mvn-enforcer] branch main updated: JMVN-26 Distribution signature checked cannot handle versions with dashes

Rod Widdowson rdw at steadingsoftware.com
Sat Mar 5 15:42:16 UTC 2022


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository java-mvn-enforcer.

View the commit online:
http://git.shibboleth.net/view/?p=java-mvn-enforcer.git;a=commit;h=19e57b361ea3f8e9f0cbf5504ebe9003193131cf

The following commit(s) were added to refs/heads/main by this push:
     new 19e57b3  JMVN-26 Distribution signature checked cannot handle versions with dashes
19e57b3 is described below

commit 19e57b361ea3f8e9f0cbf5504ebe9003193131cf
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Mar 5 15:41:57 2022 +0000

    JMVN-26 Distribution signature checked cannot handle versions with dashes
    
    https://shibboleth.atlassian.net/browse/JMVN-26
    
    Fix logging errors in previous
---
 src/main/java/net/shibboleth/mvn/enforcer/impl/ProjectPomContext.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/net/shibboleth/mvn/enforcer/impl/ProjectPomContext.java b/src/main/java/net/shibboleth/mvn/enforcer/impl/ProjectPomContext.java
index 442e08c..d6c07f0 100644
--- a/src/main/java/net/shibboleth/mvn/enforcer/impl/ProjectPomContext.java
+++ b/src/main/java/net/shibboleth/mvn/enforcer/impl/ProjectPomContext.java
@@ -305,12 +305,12 @@ public final class ProjectPomContext implements AutoCloseable {
         }
         String base = name.substring(0, last);
         while (base.contains("-") && !artifactToGroup.containsKey(base)) {
-            log.debug("Splitting {}: {}:{} didn't work", inName, name.substring(last+1));
+            log.debug("Splitting {}: {}:{} didn't work", inName, base, name.substring(last+1));
             last = base.lastIndexOf("-");
             base = name.substring(0, last);
         }
         final String versionExtension = name.substring(last+1);
-        log.error("Splitting {}: found {}:{}", inName, base, versionExtension);
+        log.debug("Splitting {}: found {}:{}", inName, base, versionExtension);
         return new Pair<>(base, versionExtension);
     }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list