Shouldn't the test data be in a resources folder? Gary
On Thu, Nov 10, 2011 at 9:39 PM, <s...@apache.org> wrote: > Author: sebb > Date: Fri Nov 11 02:39:20 2011 > New Revision: 1200701 > > URL: http://svn.apache.org/viewvc?rev=1200701&view=rev > Log: > Surefire blindly treats all matching files as potential test classes > Ensure only .class files are selected > > Modified: > commons/proper/io/trunk/pom.xml > > Modified: commons/proper/io/trunk/pom.xml > URL: > http://svn.apache.org/viewvc/commons/proper/io/trunk/pom.xml?rev=1200701&r1=1200700&r2=1200701&view=diff > > ============================================================================== > --- commons/proper/io/trunk/pom.xml (original) > +++ commons/proper/io/trunk/pom.xml Fri Nov 11 02:39:20 2011 > @@ -262,7 +262,8 @@ > <!-- limit memory size see IO-161 --> > <argLine>-Xmx25M</argLine> > <includes> > - <include>**/*Test*</include> > + <!-- Only include test classes, not test data --> > + <include>**/*Test*.class</include> > </includes> > <excludes> > <exclude>**/*AbstractTestCase*</exclude> > > > -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0 Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory