If it's a JAR, just add it to src/main/resources, replicating the folder structure you want to be present in the JAR (the root class path for the JAR is the very first level on it, so it's easy).
In the case of WAR or other types of packages, the method is very different
source
share