[ 
https://issues.apache.org/jira/browse/MPLUGIN-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17624700#comment-17624700
 ] 

ASF GitHub Bot commented on MPLUGIN-431:
----------------------------------------

slawekjaranowski commented on code in PR #160:
URL: 
https://github.com/apache/maven-plugin-tools/pull/160#discussion_r1006098773


##########
maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java:
##########
@@ -107,7 +107,11 @@ else if ( !goalPrefix.equals( defaultGoalPrefix ) )
     static String getDefaultGoalPrefix( MavenProject project )
     {
         String defaultGoalPrefix;
-        if ( "maven-plugin".equalsIgnoreCase( project.getArtifactId() ) )
+        if ( "maven-plugin-report-plugin".equalsIgnoreCase( 
project.getArtifactId() ) )
+        {
+            defaultGoalPrefix = "plugin-report";

Review Comment:
   we have warning during build
   
   ```
   [WARNING] 
   
   Goal prefix is specified as: 'plugin-report'. Maven currently expects it to 
be 'report'.
   ```
   
   so I want to mitigate it for next release 





> Remove deprecated items from new maven-plugin-report-plugin
> -----------------------------------------------------------
>
>                 Key: MPLUGIN-431
>                 URL: https://issues.apache.org/jira/browse/MPLUGIN-431
>             Project: Maven Plugin Tools
>          Issue Type: Task
>            Reporter: Slawomir Jaranowski
>            Assignee: Slawomir Jaranowski
>            Priority: Major
>             Fix For: 3.7.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to