[java-mvn-enforcer] branch main updated: Add all generated jars to the artifact to group map

Rod Widdowson rdw at steadingsoftware.com
Fri Dec 10 16:41:22 UTC 2021


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=eabe88abe8fcdc460fb02f560dbaed1d3ce62206

The following commit(s) were added to refs/heads/main by this push:
     new eabe88a  Add all generated jars to the artifact to group map
eabe88a is described below

commit eabe88abe8fcdc460fb02f560dbaed1d3ce62206
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Dec 10 16:27:50 2021 +0000

    Add all generated jars to the artifact to group map
---
 src/main/java/net/shibboleth/mvn/enforcer/impl/ProjectPomContext.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 113d176..696ae24 100644
--- a/src/main/java/net/shibboleth/mvn/enforcer/impl/ProjectPomContext.java
+++ b/src/main/java/net/shibboleth/mvn/enforcer/impl/ProjectPomContext.java
@@ -244,7 +244,7 @@ public final class ProjectPomContext implements AutoCloseable {
                 artifactToGroup.put(artifact.getArtifactId(), artifact.getGroupId());
             }
         }
-        for (final PomArtifact artifact : parentPom.getManagedDependencies().values()) {
+        for (final PomArtifact artifact : parentPom.getGeneratedArtifacts()) {
             if (!artifactToGroup.containsKey(artifact.getArtifactId())) {
                 artifactToGroup.put(artifact.getArtifactId(), artifact.getGroupId());
             }

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


More information about the commits mailing list