We have an XSD file along with some java src files. How can we instruct Maven to include the XSD in the jar file output? Currently it appears to ignore the file.
Put the XSD file under src/main/resources
folder. This should be enough. By default all files under this directory are copied to target/classes
directory and from there are picked up by maven-jar-plugin
by default.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With