Skip to content

banDuplicateClasses can not be appended in pom.xml #305

Open
@reitzmichnicht

Description

We want to append the banDuplicateClasses definition in our child pom.xml.

If you already have a definition of ignoredClasses in the parent pom it is not possible to add more ignoredClasses in any child pom.xml like this

            <configuration>
              <rules>
                <banDuplicateClasses>
                  <ignoreClasses combine.children="append">
                    <ignoreClass>jakarta.jws.*</ignoreClass>
                  </ignoreClasses>
                </banDuplicateClasses>
              </rules>
            </configuration>

I tried every combination of appending or overwriting, I can only overwrite the whole rules definition loosing all other rules configuration or I end with two banDuplicateClasses nodes where the first one seems to be used.

Kind regards,
Michael

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions