I'm not sure if this is the best way to do it, but anyway... I added the following line to project.properties maven.jarResources.basedir=src/resources
and then moved all my resources out of my source tree into src/resources A tiny amount of information can be found at http://jakarta.apache.org/turbine/maven/reference/project-descriptor.html#jarResources Moritz Petersen wrote: > Hi List, > > maybe the answer to this question is similar to one of my previously > posted questions. I have the following project structure for a pure > Java application: > > /src/application.properties > /src/my/package/Application.java > > etc. > > The application.properties file should be bundled to the final > application. If I use Maven's dist goal, the .properties files are > ignored and not copied to the compiled classes. > How can I put the .properties into the classpath of the application > using Maven? > > Thank you. > > Kind regards, > > Moritz. > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
