You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (Jira)" <ji...@apache.org> on 2021/04/20 21:46:00 UTC

[jira] [Closed] (MPLUGIN-348) Why does maven-plugin-plugin always warn if goalPrefix is set?

     [ https://issues.apache.org/jira/browse/MPLUGIN-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MPLUGIN-348.
----------------------------------
    Fix Version/s: 3.6.1
         Assignee: Robert Scholte
       Resolution: Fixed

Fixed in [d3e52d08be0f53a65424ffc5088b1718a46a2666|https://gitbox.apache.org/repos/asf?p=maven-plugin-tools.git;a=commit;h=d3e52d08be0f53a65424ffc5088b1718a46a2666]

> Why does maven-plugin-plugin always warn if goalPrefix is set?
> --------------------------------------------------------------
>
>                 Key: MPLUGIN-348
>                 URL: https://issues.apache.org/jira/browse/MPLUGIN-348
>             Project: Maven Plugin Tools
>          Issue Type: Bug
>          Components: Plugin Plugin
>    Affects Versions: 3.6.0
>            Reporter: Gili
>            Assignee: Robert Scholte
>            Priority: Major
>             Fix For: 3.6.1
>
>
> If the {{<goalPrefix> parameter is set, the plugin will always issue a warning: [https://github.com/apache/maven-plugin-tools/blob/26ba0323bfd66214222b1be4d71402b0948d51bf/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java#L216]}}
> {{Obviously the provided value will differ from the default goal prefix; otherwise, why bother using this parameter at all?}}
> Shouldn't issue be logged as {{DEBUG}} instead of {{WARN}}?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)