Ernst Reissner created MNG-7927:
-----------------------------------

             Summary: nested setting of plugin ignored if empty
                 Key: MNG-7927
                 URL: https://issues.apache.org/jira/browse/MNG-7927
             Project: Maven
          Issue Type: Bug
    Affects Versions: 3.9.4
            Reporter: Ernst Reissner


I have written a plugin, https://github.com/Reissner/latex-maven-plugin/, 
which uses nested configuration. 

```
      <plugin>
        <groupId>eu.simuline.m2latex</groupId>
        <artifactId>latex-maven-plugin</artifactId>
        <version>2.0-SNAPSHOT</version>
        <configuration>
          <settings>
            <docClassesToTargets></docClassesToTargets>
          </settings>
        </configuration>
```

If as in the example a setting is really empty, its default is not changed. 
Instead, the default is obtained. 

This rarely becomes visible but is really difficult to find. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to