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

[jira] [Created] (MNG-7468) Unsupported plugins parameters in configuration should break build

Slawomir Jaranowski created MNG-7468:
----------------------------------------

             Summary: Unsupported plugins parameters in configuration should break build
                 Key: MNG-7468
                 URL: https://issues.apache.org/jira/browse/MNG-7468
             Project: Maven
          Issue Type: New Feature
          Components: Plugins and Lifecycle
            Reporter: Slawomir Jaranowski


Currently we can provide any xml tags in plugin configuration even if plugin Mojo doesn't support specific parameters.

eg we can have:
{code:xml}
<plugin>
    <artifactId>example-maven-plugin</artifactId>
    <version>1.1.1</version>
    <configuration>
        <xxx>zzzz</xxx>
    </configuration>
</plugin>
{code}

With example configuration Mojo is executed without any warning.

Simply if parameters is not supported - build should break with some of invalid plugin configuration exception ...




--
This message was sent by Atlassian Jira
(v8.20.7#820007)