It turns out that this is the approach I needed to use. Putting the files in the resources directory works but to my mind it's untidy. Having the xml files in a directory on their own is better to my mind, albeit adding a slight non-standard aspect to my maven build
rickcr-2 wrote: > > On Thu, Aug 27, 2009 at 3:07 PM, Brandon Goodin > <brandon.goo...@gmail.com>wrote: > >> non .java files that belong on the classpath are supposed to go under the >> resources directory in Maven. > > > True. Brandon is right, you should put them there, otherwise you need to > adjust your pom to include: > > <resource> > <directory>src/main/java</directory> > <filtering>true</filtering> > <includes> > <include>**/*.xml</include> > </includes> > </resource> > > > I should probably be more standard and move them to resources. I'll do it > now:) > > -- View this message in context: http://www.nabble.com/Maven-and-iBatis-3.0---Excuse-me-for-the-stupid-question-tp25167237p25254956.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional commands, e-mail: user-java-h...@ibatis.apache.org