Anything under src/main/resources
will ultimately end up packed inside the jar (or war) and be available at runtime on the classpath.
Eg: src/main/resources/foo/bar.txt
can be accessed via getClass().getClassLoader().getResourceAsStream("/foo/bar.txt")