Where should I put Velocity template files for a command line utility built with Maven?
问题 I have a small command line utility project that I'm using Maven to manage. The utility is a very simple app to populate a Velocity template and dump the results to a new file. My problem is where to put my Velocity templates. When I put them in src/test/resources/foo/bar/baz , mvn test fails because it can't find the referenced template, even though it is clearly there in target/classes/foo/bar/baz , which is where the .class file for the test and the class under test are located. If I put