gnodet commented on PR #11549: URL: https://github.com/apache/maven/pull/11549#issuecomment-3654336811
> Hello @gnodet. I have a question related to this pull request. Is it possible to edit the consumer POM of the attached artifacts for: > > * Setting the value of the `<artifactId>` element to the `artifact.getArtifactId()` value. > * Filter the dependencies for keeping only the ones that are declared in the `module-info` file. > * Change the `<optional>` value of some dependencies depending on whether the dependency is declared as `static` in the `module-info` file. > > Any tip would be greatly appreciated. The consumer POM is only generated from the main build POM for project being compiled. If we generate new artifacts dynamically, we'll have to generate the POM and attach it AFAIK. The `DefaultConsumerPomBuilder` uses the `MavenProject` as the main input, so I don't really think it makes sense to reuse it. -- 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]
