- put all your resource files (different than java files) to "src/main/resources" - recomended
“Low quality code is not cheaper; it is vastly more expensive, even in the short term. Bad code slows everyone down from the minute that it is written. It creates a continuous and copious drag on further progress. It requires armies of coders to overcome that drag; and those armies must grow exponentially to maintain constant velocity against that drag.” Robert C. Martin
Monday, September 3, 2012
How to add xml resources in package using maven
By default maven does not include any files from "src/main/java"
(${sourceDirectory} variable). You have two possibilities (choose one of
them):
Subscribe to:
Posts (Atom)