ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Bibb <richard.b...@aimhedge.com>
Subject Re: Maven and iBatis 3.0 - Excuse me for the stupid question
Date Wed, 02 Sep 2009 10:19:16 GMT

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.goodin@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-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


Mime
View raw message