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
>

Reply via email to