Any files you expect to write to should be placed completely outside the project or application. Make your application take a parameter or a setting or look for an environment variable to indicate where this folder is located.
For files that are only read (static resources), you can places them within src folder and read them using ClassLoader.getResourceAsStream() API (as opposed to Java File I/O, which will not work once the application is packaged in a jar).