You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ernst Reissner (Jira)" <ji...@apache.org> on 2023/11/12 10:25:00 UTC
[jira] [Created] (MNG-7927) nested setting of plugin ignored if empty
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)