I have a plugin that takes a list inside its configuration:
com.example
Maven doesn't support any sort of list or way to store several properties/tags inside one tag. However, you don't need to duplicate the plugin configuration, you can just move it entirely into the profiles and not have it defined in the main pom at all (alternate: still remove it from the main pom but make an activeByDefault profile which has the default plugin configuration). As maven doesn't bother parsing inactive profiles the duplicate code shouldn't cause any performance problems.