ascheman commented on PR #11549: URL: https://github.com/apache/maven/pull/11549#issuecomment-3653530854
> > If the GAV is no longer the same how can the attached artifact share the same POM (with a different artifactId)? > > I have the same concern, what is the pom of "automatic sub-artifactId Java Module" vs the base artifactId? > > this is really key, ad requires a clear design before trying to implement The consumer POM for a Java module JAR would have a different artifactId (derived from the module name). In this context of attachArtifact it would be possible to decide whether it's a multi-module project (or single module). Relaxation of the artifactId check would only be necessary if its multi-module. For single-module projects the artifactId should perhaps not change (-> no relaxation)? -- 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]
