[S2] Maven2 and validation.xml

2008-03-12 Thread Lukasz Lenart
Hi, I'm using maven2 to build my Struts2 application and how to solve the problem with coping *-validation.xml files to target directory? All my *-validation.xml files are next to action classes, in the same package / directory (src/main/java/pl/org/lenart/s2) but they are no copied in to target

Re: [S2] Maven2 and validation.xml

2008-03-12 Thread Nils-Helge Garli Hegvik
Resource files are supposed to be in the resources folder... Just put them there with the same path as your java class, and everything should be copied where it's supposed to. If that does not fit your needs, and you have other Maven 2 questions, I suggest that you use the Maven user list

Re: [S2] Maven2 and validation.xml

2008-03-12 Thread Lukasz Lenart
Resource files are supposed to be in the resources folder... Just put them there with the same path as your java class, and everything should be copied where it's supposed to. If that does not fit your Yes, I did that but I was wondering how it should be, the good practice in case of Struts