Re: Maven ear plugin -- add files into META-INF folder

2010-03-16 Thread Thunder Farmer
Hi Markku, Thanks a lot. Previously my problem lie in that I missed the META-INF subdirectory under "earSourceDirectory". Best Regards, Thunder On Wed, Mar 17, 2010 at 12:37 AM, Markku Saarela wrote: > You could use > ${project.build.outputDirectory} > and use normal build resources > > > >

Re: Maven ear plugin -- add files into META-INF folder

2010-03-16 Thread Markku Saarela
You could use ${project.build.outputDirectory} and use normal build resources src/main/resources true and put this weblogic file in subdirectory META-INF also you can define additional resource directories there.. This way you can also filter these files. rgds, Markku On 16.3.2010 8:

Re: Maven ear plugin -- add files into META-INF folder

2010-03-15 Thread Thunder Farmer
Thanks. I do look into the "earSourcesDirectory" parameter. The problem is that files specified by "earSourcesDirectory " will be under root directory of the ear, rather than under ear/META-INF. Any idea for my issue? I just want some files out of default folder "src\main\application\META-INF" to

Re: Maven ear plugin -- add files into META-INF folder

2010-03-15 Thread Markku Saarela
Hi, As in http://maven.apache.org/plugins/maven-ear-plugin/examples/filtering-sources.html noted use earSourcesDirectory. Rgds, Markku On 16.3.2010 5:06, Thunder Farmer wrote: Dear all, During ear packaging, is there any way to add my personal files into the ear/META-INF folder if I don't

Maven ear plugin -- add files into META-INF folder

2010-03-15 Thread Thunder Farmer
Dear all, During ear packaging, is there any way to add my personal files into the ear/META-INF folder if I don't put it in the default source folder "src\main\application\META-INF". For example, I have weblogic specific file "weblogic-application.xml", it dost't lie in the default folder "src\mai