hi maven-users

I've got the following problem: if I'm creating a webapp and put the META-INF 
directory into "src/main/webapp" the files in it (for example persistence.xml) 
are NOT on the classpath and therefore my tests are failing, I can't package my 
project.

if I'm putting the META-INF directory under "src/main/resources", the files are 
on the classpath, the tests succeed, the WAR file is built. 
BUT: if I explode the WAR, my META-INF directory and it's files are under 
"/WEB-INF/classes/". strange place for META-INF, isn't it? 

is it possible to have the files for the META-INF directory on the classpath 
and copy them on packaging into the correct location (for example 
"/META-INF/persistence.xml")? 

thanks and greetings
stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to