Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7468

Unsupported plugins parameters in configuration should be verified

    XMLWordPrintableJSON

Details

    Description

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

      eg we can have:

      <plugin>
          <artifactId>example-maven-plugin</artifactId>
          <version>1.1.1</version>
          <configuration>
              <xxx>zzzz</xxx>
          </configuration>
      </plugin>
      

      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 ...

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              sjaranowski Slawomir Jaranowski
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: