desruisseaux commented on PR #11549:
URL: https://github.com/apache/maven/pull/11549#issuecomment-3650813626

   > If the GAV is no longer the same how can the attached artifact share the 
same POM (with a different artifactId)?
   
   A consumer POM needs to be generated for each attached artifact. This is 
needed anyway, because the dependencies are no longer the dependencies declared 
in the POM. They are the intersection of the dependencies in the POM and the 
`requires` statements in the `module-info`. Note that the latter was true even 
before all this module hierarchy work. It was just not clearly realized by all 
users and largely ignored by Maven.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to