Hi Dave, To get conf files in the jar distribution, they must be "resources". The standard directory to put them into is src/main/resources [1]
But if you want to use another directory (say, conf), you must tell the POM [2] : ~ <build> ~ <resources> ~ <resource> ~ <directory>conf</directory> ~ </resource> ~ </resources> ~ </build> [1] http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html [2] http://maven.apache.org/maven-model/maven.html#class_resource - Yann 2006/2/20, Irving, Dave <[EMAIL PROTECTED]>: > > Hi, > > I have a project which contains a few configuration files which need to > be released as part of my project deployment. > These used to live in a "conf" directory - and were just included in to > the distribution as part of my ant build. > On moving over to maven2, it seems that the standard place to put config > files is in src/main/config. > Could someone tell me the preferred way to get these files in to a > distribution created by maven2 - or point me to some doco which will do > so? > > Many thanks, > > Dave > > > > This e-mail and any attachment is for authorised use by the intended > recipient(s) only. It may contain proprietary material, confidential > information and/or be subject to legal privilege. It should not be copied, > disclosed to, retained or used by, any other party. If you are not an > intended recipient then please promptly delete this e-mail and any > attachment and all copies and inform the sender. Thank you. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
