RE: How to exclude all test classes from jar?

2008-03-11 Thread Brian E. Fox
/target/test-classes are not included in the jar by default. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Chris Sent: Tuesday, March 11, 2008 3:30 PM To: users@maven.apache.org Subject: How to exclude all test classes from jar? I'd like to exclude all classes in th

Re: How to exclude all test classes from jar?

2008-03-11 Thread Chris
I see the problem. Eclipse was mistakenly putting all of my test classes into /target/classes instead of /target/test-classes. Must fix the Eclipse project. Russ Tremain wrote: not quite sure I understand, are you saying you have test files in your that you want to exclude? if so, then the

Re: How to exclude all test classes from jar?

2008-03-11 Thread Russ Tremain
not quite sure I understand, are you saying you have test files in your that you want to exclude? if so, then the convention is to exclude them in the .. section. classes in are by default excluded from the final jar. At 2:30 PM -0500 3/11/08, Chris wrote: >I'd like to exclude all classes in