[java-mvn-enforcer] branch main updated: JMVN-84 Duplicate group declaration warnings

Codeberg noreply at shibboleth.net
Tue Sep 29 18:11:39 UTC 2026


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

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

View the commit online:
https://codeberg.org/Shibboleth/java-mvn-enforcer/commit/beef06ba8d1a99dc60b42b518d3c44a51a6b2b1f

The following commit(s) were added to refs/heads/main by this push:
     new beef06b  JMVN-84 Duplicate group declaration warnings
beef06b is described below

commit beef06ba8d1a99dc60b42b518d3c44a51a6b2b1f
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Sep 29 19:10:35 2026 +0100

    JMVN-84 Duplicate group declaration warnings
    
    https://shibboleth.atlassian.net/browse/JMVN-84
    
    Turn a warn message down to an info.
    
    Fix a typo.
---
 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 664cb18..d5a9e51 100644
--- a/src/main/java/net/shibboleth/mvn/enforcer/impl/ProjectPomContext.java
+++ b/src/main/java/net/shibboleth/mvn/enforcer/impl/ProjectPomContext.java
@@ -292,9 +292,9 @@ public final class ProjectPomContext implements AutoCloseable {
         final String old = artifactToGroup.put(artifactId, groupId);
         if (old != null) {
             if (old.equals(groupId)) {
-               log.warn("Duplicate group declaration for {}", artifactId);
+               log.info("Duplicate group declaration for {}", artifactId);
             } else {
-               log.error("Artifact {} declated to be in groups {} and {}", artifactId, old, groupId);
+               log.error("Artifact {} declared to be in groups {} and {}", artifactId, old, groupId);
                return false;
             }
         }

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


More information about the commits mailing list