[ https://issues.apache.org/jira/browse/MPLUGIN-331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16315452#comment-16315452 ]
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_r160058763 ########## 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: The claim of breaking things is a bit too hard, but making it variable assumes that is configurable in real world. It will also appear on reports like the goal page, the help goal, etc. Let's not confuse people or show parameters which will only distract them. What is the issue of *not* making it readOnly? ---------------------------------------------------------------- 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)