[ https://issues.apache.org/jira/browse/MPLUGIN-331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16314810#comment-16314810 ]
ASF GitHub Bot commented on MPLUGIN-331: ---------------------------------------- rfscholte commented on a change in pull request #10: [MPLUGIN-331] Let plugin:report support takari-maven-plugin packaging URL: https://github.com/apache/maven-plugin-tools/pull/10#discussion_r160032052 ########## File path: maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java ########## @@ -197,9 +197,18 @@ @Component private RuntimeInformation rtInfo; + /** + * Path to {@code plugin.xml} plugin descriptor to generate the report from. + * + * @since 3.5.1 + */ + @Parameter( defaultValue = "${project.build.outputDirectory}/META-INF/maven/plugin.xml", required = true ) Review comment: I would like to see this as a readOnly parameter. Changing its value will break things. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Check the existence of plugin.xml rather than project packaging in > PluginReport.canGenerateReport() > --------------------------------------------------------------------------------------------------- > > Key: MPLUGIN-331 > URL: https://issues.apache.org/jira/browse/MPLUGIN-331 > Project: Maven Plugin Tools > Issue Type: Task > Components: Plugin Plugin > Reporter: Peter Palaga > Assignee: Hervé Boutemy > Fix For: 3.5.1 > > > {{org.apache.maven.plugin.plugin.PluginReport.canGenerateReport()}} currently > reads > {code} > return "maven-plugin".equals( project.getPackaging() ); > {code} > I propose to change it to > {code} > return "maven-plugin".equals( project.getPackaging() ) > || "takari-maven-plugin".equals( project.getPackaging() ); > {code} > so that also takari-maven-plugins are supported. -- This message was sent by Atlassian JIRA (v6.4.14#64029)