gnodet commented on code in PR #160:
URL:
https://github.com/apache/maven-plugin-tools/pull/160#discussion_r1006112120
##########
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:
Won't that be the case for all plugins if we start splitting the mojos from
the reports ?
--
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]