For example, I want instead of referring to an online XSD like this:
<persistence xmlns="…" xmlns:xsi="…"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence
http://www.oracle.com/…/persistence_2_1.xsd"> <!-- online -->
To refer to a classpath XSD like this:
<persistence xmlns="…" xmlns:xsi="…"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence
org/hibernate/jpa/persistence_2_1.xsd"> <!-- classpath -->