I have an XSD file that is referenced in three different XML files in different project modules using:
<item-groups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xml_schemas/item_groups.xml.xsd">
I have been trying to figure how to avoid manually copying the XSD into every module that needs it, so I don't have to maintain three files instead of one.
Is there a way in maven that I can have only one version in one of my modules, and at build time it copies it over to the other two?
Thanks!