I have an XSD file that is mentioned in three different XML files in different modules of the project using:
<item-groups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xml_schemas/item_groups.xml.xsd">
I am trying to figure out how to avoid manually copying XSD to each module that it needs, so I don't need to support three files instead of one.
Is there a way in maven that I can only have one version in one of my modules, and during build it copies it to the other two?
Thank!
source
share