This plugin greatly reduces the pain associated with consistent packaging concerns across a large set of projects, or an entire organization. Any project can specify the use of a remote resource bundle and have the resources incorporated into their packaging. This means that you can create standard settings in a parent POM somewhere in the project hierarchy and have all projects use packaged common resources in a standard way like licenses, other legal notices and disclaimers, or anything else that may be common.
There are two solutions:
<supplementalDataModels> <supplement> <project> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId> <name>Sun JAXB Reference Implementation Runtime</name> <organization> <name>Sun Microsystems</name> <url>http://www.sun.com/</url> </organization> <licenses> <license> <name>COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0</name> <url>http://www.sun.com/cddl/cddl.html</url> </license> </licenses> </project> </supplement> </supplementalDataModels>
supplementalModelsconfiguration element for the process mojo. The supplemental information is merged into the information provided from the repository.