Hi Nick I do not want them in the test-classes folder as there are a lot of internal module dependencies in the project. The requirement is that the file should be in the classes folder . I am using openejb to test my ejb3-beans and since the modules are interdependent I need the file to be in classes folder. I was looking through the various plugins and I found that this is possible using the maven-ejb-plugin 2.1.1-SNAPSHOT plugin. But I am unable to find the jar in any of the repositories. Is there any way wherein I can remove the file from the classes folder just before the packaging happens but after the tests run?
Thanks Anthony On Tue, Aug 12, 2008 at 8:05 PM, Nick Stolwijk <[EMAIL PROTECTED]>wrote: > Just put them in src/test/resources instead of src/main/resources. They > will > be on the classpath during test-compile and test, but they will not be in > your final artifact. > > Hth, > > Nick Stolwijk > ~Java Developer~ > > Iprofs BV. > Claus Sluterweg 125 > 2012 WS Haarlem > www.iprofs.nl > > > On Tue, Aug 12, 2008 at 4:18 PM, Anthony Pereira <[EMAIL PROTECTED] > >wrote: > > > Hi folks > > > > I need the maven-ejb-plugin 2.1.1-SNAPSHOT version to exclude some files > > while building the jar . The files I need to exclude are required to run > > the > > test cases that are present in the project. > > I would be grateful if somebody could direct me to the repository > > location where the jar is present, if it is uploaded at all. > > Else could anyone suggest a way to exclude the files from my build?. > > I need the files in the classes folder but not in my jar.. i.e i need > the > > files to be there while the test cases run and then i need to remove the > > file when the packaging happens. > > > > Any help would be greatly appreciated. > > > > Thanks > > > > --Anthony S. Pereira > > > -- Anthony Salvador Pereira Development Engineer Aditi Technologies Private Limited
