[
https://issues.apache.org/jira/browse/MPLUGIN-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17624715#comment-17624715
]
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_r1006122109
##########
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:
No - by default `maven` and `plugin` words are removed from artifactId, so
it is special case.
> 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)